.download-fab {
  position: fixed;
  right: max(24px, calc((100vw - 774px) / 2));
  bottom: 217px;
  z-index: 10;
  display: flex;
  width: 132px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  color: #fff;
  background: #ff7b28;
  border: 0;
  border-radius: 22px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.18s ease, transform 0.18s ease,
    visibility 0.18s ease, filter 0.18s ease;
}

.download-fab:hover {
  color: #fff;
  filter: brightness(1.05);
}

.download-fab.is-scrolling {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
}

.download-fab-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.download-fab-text {
  color: #fff;
  font-family: "PingFang SC", Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  white-space: nowrap;
}

.dh-page .download-fab {
  background: var(--dh-red);
}

@media (min-width: 768px) {
  .download-fab {
    right: 61px;
    bottom: 69px;
  }
}

@media (max-width: 767px) {
  .download-fab {
    right: 16px;
    bottom: max(57px, calc(16px + env(safe-area-inset-bottom, 0px)));
    z-index: 80;
  }
}

@media (prefers-reduced-motion: reduce) {
  .download-fab {
    transition: none;
  }
}
