#bun-app-install-wrap {
  position: fixed;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 999999;
  transform: translateX(-50%);
  font-family: inherit;
}

#bun-app-install-wrap.bun-app-install-hidden {
  display: none !important;
}

.bun-app-install-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: #111827;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.28);
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.bun-app-install-button:hover,
.bun-app-install-button:focus {
  color: #ffffff;
  background: #000000;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.34);
  transform: translateY(-1px);
  outline: none;
}

.bun-app-install-button:focus-visible {
  outline: 3px solid rgba(17, 24, 39, 0.28);
  outline-offset: 3px;
}

.bun-app-install-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  overflow: hidden;
  border-radius: 8px;
  flex: 0 0 auto;
}

.bun-app-install-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bun-app-install-icon svg {
  width: 22px;
  height: 22px;
}

.bun-app-install-label {
  white-space: nowrap;
}

@media (max-width: 480px) {
  #bun-app-install-wrap {
    left: 14px;
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    transform: none;
  }

  .bun-app-install-button {
    width: 100%;
  }
}
