.cbn-pwa-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
  background: #1c0f08;
  color: #faf4ec;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.28);
  transform: translateY(110%);
  transition: transform 0.35s ease;
}

.cbn-pwa-banner.show {
  transform: translateY(0);
}

.cbn-pwa-banner-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cbn-pwa-banner-icon {
  font-size: 1.75rem;
  line-height: 1;
  flex-shrink: 0;
}

.cbn-pwa-banner-text {
  flex: 1 1 180px;
  min-width: 0;
}

.cbn-pwa-banner-text strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.cbn-pwa-banner-sub {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(250, 244, 236, 0.78);
  line-height: 1.4;
}

.cbn-pwa-banner-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cbn-pwa-btn {
  border: none;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  font-family: inherit;
}

.cbn-pwa-btn.primary {
  background: #c97b3a;
  color: #fff;
}

.cbn-pwa-btn.ghost {
  background: transparent;
  color: rgba(250, 244, 236, 0.7);
  padding: 8px 10px;
}

.cbn-pwa-btn.link {
  background: rgba(250, 244, 236, 0.12);
  color: #faf4ec;
}

@media (max-width: 520px) {
  .cbn-pwa-banner-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cbn-pwa-banner-actions {
    justify-content: center;
  }
}
