/* ==========================================================
   FOOTER BAR
========================================================== */
/* ==========================================================
   FOOTER BAR
========================================================== */

#footer-bar {
  position: fixed;

  right: max(8px, env(safe-area-inset-right));
  bottom: max(8px, env(safe-area-inset-bottom));

  width: 155px;
  height: 60px;

  background: #660066;

  overflow: hidden;

  z-index: 1200;

  isolation: isolate;

  will-change: transform;

  touch-action: manipulation;
  border-radius: 50px
}

#footer-bar .left-match-dock,
#footer-bar .left-bet-now-dock,
#footer-bar .right-theme-dock {
  position: absolute;
  left: 5px;
  top: 8px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  user-select: none;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

#footer-bar .left-bet-now-dock {
  left: 54px;
}

#footer-bar .right-theme-dock {
  left: 105px;
}

#footer-bar .dock-border {
  position: absolute;
  inset: 0;
  background: #000000;
  animation: dockBorderSpin 1.9s linear infinite;
  transform-origin: center;
}

#footer-bar .dock-inner {
  position: absolute;
  inset: 2px;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  background: #660066;
  display: flex;
  align-items: center;
  justify-content: center;
}

#footer-bar .dock-icon {
  width: 24px;
  height: 24px;
  display: block;
  color: #ffffff;
}

#footer-bar .left-match-dock:focus-visible,
#footer-bar .left-bet-now-dock:focus-visible,
#footer-bar .right-theme-dock:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

@keyframes dockBorderSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}


/* ==========================================================
   RESPONSIVE POSITIONING
========================================================== */

@media (min-width:768px) {

  #footer-bar {
    right: 20px;
    bottom: 20px;
  }

}

@media (min-width:1024px) {

  #footer-bar {
    right: 28px;
    bottom: 28px;
  }

}