.hf-app-install-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9998;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0));
  background: linear-gradient(180deg, #0f766e 0%, #0d9488 100%);
  color: #fff;
  box-shadow: 0 -4px 24px rgba(15, 23, 42, 0.2);
  transform: translateY(110%);
  transition: transform 0.35s ease;
}

.hf-app-install-banner.is-visible {
  transform: translateY(0);
}

.hf-app-install-banner__inner {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hf-app-install-banner__logo {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
}

.hf-app-install-banner__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hf-app-install-banner__text {
  flex: 1;
  min-width: 0;
}

.hf-app-install-banner__text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.25;
}

.hf-app-install-banner__text span {
  display: block;
  font-size: 0.8rem;
  opacity: 0.9;
  line-height: 1.3;
  margin-top: 0.15rem;
}

.hf-app-install-banner__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  flex-shrink: 0;
}

.hf-app-install-banner__btn {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.hf-app-install-banner__btn--primary {
  background: #fff;
  color: #0f766e;
}

.hf-app-install-banner__btn--ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: underline;
  padding: 0.25rem 0.5rem;
  font-weight: 500;
}

.hf-app-install-banner__close {
  position: absolute;
  top: 0.35rem;
  right: 0.5rem;
  width: 2rem;
  height: 2rem;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 8px;
}

.hf-app-install-banner__close:hover {
  background: rgba(255, 255, 255, 0.12);
}

body.hf-has-install-banner {
  padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0));
}

@media (min-width: 768px) {
  .hf-app-install-banner {
    display: none;
  }

  body.hf-has-install-banner {
    padding-bottom: 0;
  }
}
