.in-app-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  padding-top: calc(10px + env(safe-area-inset-top, 0px));
  background: linear-gradient(90deg, #7b5ea7 0%, #9b7ed4 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(60, 30, 100, 0.25);
  font-family: "Poppins", system-ui, sans-serif;
}

.in-app-banner--visible {
  display: flex;
}

.in-app-banner__text {
  font-size: 0.8125rem;
  line-height: 1.35;
  font-weight: 500;
  min-width: 0;
}

.in-app-banner__btn {
  flex-shrink: 0;
  border: none;
  border-radius: 999px;
  background: #fff;
  color: #7b5ea7;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 8px 14px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.in-app-banner__btn:active {
  transform: scale(0.98);
}

body.has-in-app-banner {
  padding-top: calc(52px + env(safe-area-inset-top, 0px));
}
