/* Keep the search at the right edge of the native PROMO header. */
.ad-nav > nav { align-items: center; }
.ad-nav > .ad-header-actions { display: flex; align-items: center; gap: 16px; flex: 0 0 auto; }
.ad-header-actions > .nav-login { white-space: nowrap; }
body.ad-landing .ys-panel.ys-header-panel[open] {
  inset: var(--ys-top, 88px) 32px auto;
  margin: 0;
  width: calc(100vw - 64px);
  max-width: none;
  height: calc(100dvh - var(--ys-top, 88px) - 32px);
  max-height: calc(100dvh - var(--ys-top, 88px) - 32px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
body.ad-landing .ys-panel > :not(.ys-results) { flex: 0 0 auto; }
body.ad-landing .ys-panel > .ys-results { flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; }
body.ad-landing .ys-panel .ys-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
body.ad-landing .ys-panel a.promo-search-site { display: inline-flex; align-items: center; gap: 8px; color: var(--ys-accent); }
.promo-search-favicon { display: inline-block; width: 24px; height: 24px; flex: 0 0 24px; object-fit: contain; border-radius: 6px; }
.promo-search-monogram { display: inline-grid; place-items: center; background: var(--ys-card-surface); border: 1px solid var(--ys-line); font-size: 12px; }
@media (max-width: 800px) {
  .ad-nav { gap: 12px; }
  .ad-nav > .ad-header-actions { gap: 10px; }
}
@media (max-width: 540px) {
  body.ad-landing .ys-panel.ys-header-panel[open] {
    inset: 12px 8px auto;
    width: calc(100vw - 16px);
    height: calc(100dvh - 24px);
    max-height: calc(100dvh - 24px);
  }
}
