.in-app-banner-host {
  position: fixed; top: calc(env(safe-area-inset-top, 0px) + 6px + var(--composer-keyboard-top, 0px));
  left: max(12px, calc((100% - 420px) / 2 + 12px));
  right: max(12px, calc((100% - 420px) / 2 + 12px));
  z-index: 94; pointer-events: none;
}
html.pager-ios-flow-v2 .in-app-banner-host {
  position: absolute;
  top: calc(env(safe-area-inset-top, 0px) + 6px + var(--composer-keyboard-top, 0px));
}
.in-app-banner {
  width: 100%; min-height: 62px; display: flex; align-items: center; gap: 10px;
  position: relative; overflow: hidden; padding: 8px 14px 12px 10px;
  border: 1px solid var(--pt-line, #34402d); border-radius: 18px;
  color: var(--pt-text, #d4dfbe); background: var(--pt-surface-alt, #1b2317);
  box-shadow: 0 8px 24px #0003; pointer-events: auto; cursor: pointer;
  text-align: left; font: 15px/1.3 -apple-system, 'Segoe UI', Roboto, sans-serif;
  touch-action: pan-x pinch-zoom; user-select: none; -webkit-user-select: none;
  animation: pager-banner-in 280ms cubic-bezier(.22,.72,.25,1) both;
}
.in-app-banner:focus-visible { outline: 2px solid var(--pt-accent, #c8de93); outline-offset: 3px; }
.in-app-banner.leaving { animation: pager-banner-out 170ms ease-out both; pointer-events: none; }
.in-app-banner-avatar { flex: 0 0 40px; width: 40px; height: 40px; }
.in-app-banner-avatar canvas { display: block; width: 40px; height: 40px; }
.in-app-banner-copy { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 3px; }
.in-app-banner-heading { display: flex; min-width: 0; align-items: baseline; gap: 7px; }
.in-app-banner-heading strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 600; }
.in-app-banner-number { flex: none; font: 12px/1.3 ui-monospace, monospace; opacity: .7; }
.in-app-banner-body { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; opacity: .8; }
.in-app-banner-count { flex: none; border-radius: 10px; padding: 2px 6px; background: var(--pt-accent-soft, #c8de93); color: var(--pt-text, #0c0f0d); font-size: 11px; }
.in-app-banner-count[hidden] { display: none; }
.in-app-banner-progress { position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--pt-accent, #c8de93); opacity: .45; transform-origin: left; animation: pager-banner-progress linear forwards; }
@keyframes pager-banner-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes pager-banner-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes pager-banner-progress { to { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) {
  .in-app-banner, .in-app-banner.leaving { animation: pager-banner-fade 120ms both; }
  .in-app-banner.leaving { animation-direction: reverse; }
  .in-app-banner-progress { animation: none; }
  @keyframes pager-banner-fade { from { opacity: 0; } to { opacity: 1; } }
}
