#cta-sticky {
  position: fixed;
  z-index: 9999;
  display: flex;
  gap: 10px;
  font-family: inherit;
  transition:
    opacity 0.25s,
    visibility 0.25s;
}
#cta-sticky.cta-hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
#cta-sticky a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  transition: transform 0.2s;
}
#cta-sticky svg {
  width: 16px;
  height: 16px;
  flex: none;
}
#cta-sticky .cta-app {
  background: #e5f35b;
  color: #000;
  border: 2px solid #e5f35b;
}
#cta-sticky .cta-login {
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: 2px solid #fff;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
#cta-sticky a:hover,
#cta-sticky a:focus-visible {
  transform: translateY(-1px);
}
#cta-sticky a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (min-width: 1281px) {
  #cta-sticky {
    top: 104px;
    /* Fixed = viewport-relative; past 1920px keep it inside the centred body. */
    right: max(24px, calc(50% - 960px + 24px));
  }
  #cta-sticky a {
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  }
}

@media (min-width: 768px) and (max-width: 1280px) {
  #cta-sticky {
    top: 13px;
    right: 84px;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  #cta-sticky a {
    padding: 0 14px;
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  #cta-sticky {
    top: 0;
    left: 0;
    right: 0;
    padding: 8px 12px 0;
    background: #111111;
    gap: 8px;
    z-index: 10000;
  }
  #cta-sticky a {
    flex: 1;
    height: auto;
    min-height: 44px;
    padding: 6px 10px;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
  }
  .ui-header {
    top: var(--cta-h, 61px) !important;
  }
  .ui-mobile-menu {
    top: var(--cta-h, 61px) !important;
    height: auto !important;
    min-height: 0 !important;
    bottom: 0 !important;
  }
  body {
    padding-top: calc(64px + var(--cta-h, 61px)) !important;
  }
}
@media (max-width: 359px) {
  #cta-sticky {
    padding: 8px;
    gap: 6px;
  }
  #cta-sticky a {
    font-size: 13px;
    gap: 6px;
    padding: 6px 8px;
  }
  #cta-sticky svg {
    width: 14px;
    height: 14px;
  }
}
