.cs-float {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 80;
  width: 66px;
  height: 66px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background-image: url("/assets/img/cs.png");
  background-position: center;
  background-size: 220% auto;
  background-repeat: no-repeat;
  color: #071331;
  box-shadow: none;
  text-decoration: none;
  touch-action: manipulation;
  transition: transform 0.18s ease, filter 0.18s ease;
}

body.modal-open .cs-float,
body:has(.maintenance-modal.show) .cs-float,
body:has(.login-modal.show) .cs-float,
body:has(.order-modal.show) .cs-float {
  display: none;
}

.cs-float:hover {
  transform: translateY(-4px);
  filter: saturate(1.08);
}

.cs-float:focus-visible {
  outline: 4px solid rgba(73, 168, 255, 0.32);
  outline-offset: 4px;
}

.cs-float-icon {
  display: none;
}

.cs-float-tail {
  display: none;
}

@media (max-width: 520px) {
  .cs-float {
    width: 50px;
    height: 50px;
    right: max(12px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    background-size: 230% auto;
  }
}

@media (max-width: 360px) {
  .cs-float {
    display: none;
  }
}
