.float-banner {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 2147483000;
  display: inline-block;
  padding: 0;
  margin: 0;
  line-height: 0;
  isolation: isolate;
  transition: transform .2s ease, opacity .2s ease;
  will-change: transform; 
}
.float-banner img {
  display: block;
  width: 300px;
  height: auto;
  box-shadow: 0 6px 20px rgba(0,0,0,.22);
  transition: transform .2s ease, opacity .2s ease;
}
.fb-close-checkbox {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
.fb-close-button {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(0,0,0,.65);
  color: #fff;
  font-size: 18px;
  line-height: 28px;
  text-align: center;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  z-index: 3;
}
@media (hover: hover) and (pointer: fine) {
  .float-banner:hover {
    transform: translate3d(0, -5px, 0);
  }
  .float-banner .fb-link:hover img {
    transform: none !important;
    opacity: 1 !important;
  }
}
@media (max-width: 767px) {
  .fb-close-button {
    top: -8px;
    right: -8px;
    width: 26px;
    height: 26px;
    font-size: 16px;
    line-height: 26px;
  }
  .float-banner {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 16px;
    width: 350px;
  }
      .float-banner img {
    width: min(88vw, 350px);
  }
}
@media (max-width: 375px) {
    .float-banner {
        width: 330px;
    }
}
@media (max-width: 360px) {
    .float-banner {
        width: 315px;
    }
}
.fb-close-checkbox:checked ~ .fb-link,
.fb-close-checkbox:checked ~ img,
.fb-close-checkbox:checked ~ .fb-close-button {
  display: none !important;
}
.float-banner .fb-link {
  display: inline-block;
  outline: none;
  border: 0;
}
@supports (bottom: max(1px)) {
  .float-banner {
    bottom: max(16px, env(safe-area-inset-bottom));
  }
}


.drawer-open .float-banner {
  z-index: 0 !important;
  pointer-events: none !important;
  opacity: 0;
  transition: opacity .15s ease;
}

.drawer:not(.drawer-open) .float-banner,
body:not(.drawer-open) .float-banner {
  opacity: 1;
  pointer-events: auto;
}

.fb-hidden .float-banner { display: none !important; }