.vs-app-tray {
  position: fixed;
  z-index: 999999;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 10px;
  font-family: inherit;
}

.vs-app-tray--bottom-right {
  right: 24px;
  bottom: 24px;
}

.vs-app-tray--bottom-left {
  left: 24px;
  bottom: 24px;
}

.vs-app-tray--top-right {
  right: 24px;
  top: 24px;
  flex-direction: column;
}

.vs-app-tray--top-left {
  left: 24px;
  top: 24px;
  flex-direction: column;
}

.vs-app-tray__toggle {
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease, background-color 180ms ease;
}

.vs-app-tray__toggle:hover,
.vs-app-tray__toggle:focus {
  background: #333;
  transform: scale(1.05);
  outline: none;
}

.vs-app-tray.is-open .vs-app-tray__toggle {
  transform: rotate(45deg);
}

.vs-app-tray__menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.vs-app-tray.is-open .vs-app-tray__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.vs-app-tray__item {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.vs-app-tray__item:hover,
.vs-app-tray__item:focus {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  outline: none;
}

.vs-app-tray__icon {
  font-size: 24px;
  line-height: 1;
}

.vs-app-tray__label {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: #111;
  color: #fff;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  padding: 8px 10px;
  border-radius: 999px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.vs-app-tray__item:hover .vs-app-tray__label,
.vs-app-tray__item:focus .vs-app-tray__label {
  opacity: 1;
  visibility: visible;
}

.vs-app-tray--bottom-left .vs-app-tray__label,
.vs-app-tray--top-left .vs-app-tray__label {
  right: auto;
  left: calc(100% + 10px);
}

@media (max-width: 767px) {
  .vs-app-tray--bottom-right {
    right: 16px;
    bottom: 16px;
  }

  .vs-app-tray--bottom-left {
    left: 16px;
    bottom: 16px;
  }

  .vs-app-tray__toggle {
    width: 54px;
    height: 54px;
    font-size: 32px;
  }

  .vs-app-tray__item {
    width: 48px;
    height: 48px;
  }

  .vs-app-tray__label {
    display: none;
  }
}