/* High-priority production fixes. Kept separate from the legacy bundle for safe rollback. */
.app-promo-banner {
  position: fixed;
  z-index: 1000;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto;
  padding: .75rem;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 18px;
  background: var(--surface, #fff);
  background: color-mix(in srgb, var(--surface, #fff) 94%, transparent);
  box-shadow: 0 18px 48px rgba(15, 23, 42, .18);
  backdrop-filter: blur(16px);
}

.app-promo-banner[hidden] { display: none; }
.app-promo-banner__content,
.app-promo-banner__actions { display: flex; align-items: center; gap: .75rem; }
.app-promo-banner__content img { flex: 0 0 auto; border-radius: 14px; }
.app-promo-banner__content div { display: grid; gap: .15rem; }
.app-promo-banner__content strong { font-size: .95rem; line-height: 1.2; }
.app-promo-banner__content span { font-size: .8rem; line-height: 1.35; opacity: .76; }
.app-promo-banner__actions a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: .65rem .9rem;
  border-radius: 12px;
  background: #111827;
  color: #fff;
  font-size: .84rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.app-promo-banner__actions button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(15, 23, 42, .08);
  color: inherit;
  font: inherit;
  font-size: 1.4rem;
  cursor: pointer;
}

@media (min-width: 761px) {
  .app-promo-banner { display: none; }
}

@media (max-width: 520px) {
  .app-promo-banner { gap: .55rem; padding: .6rem; }
  .app-promo-banner__content img { width: 44px; height: 44px; }
  .app-promo-banner__content span { display: none; }
  .app-promo-banner__actions { gap: .4rem; }
  .app-promo-banner__actions a { padding-inline: .7rem; }
}
