.discover-verification-banner {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 45;
  margin: 0;
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
  padding: 0.625rem 1rem;
  top: var(--discover-topbar-height, 3.75rem);
}

.discover-verification-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  max-width: 72rem;
  margin: 0 auto;
}

.discover-verification-banner__text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.4;
}

.discover-verification-banner__contact {
  font-weight: 600;
}

.discover-verification-banner__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  background: var(--color-brand-accent, #0f5a56);
  color: var(--color-brand-accent-text, #fff);
}

.discover-verification-banner__cta:hover {
  background: var(--color-brand-accent-hover, #083f3c);
  color: var(--color-brand-accent-text, #fff);
}

@media (max-width: 640px) {
  .discover-verification-banner__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}

.discover-first-visit-hint {
  position: fixed;
  left: max(1rem, env(safe-area-inset-left, 0px));
  right: max(1rem, env(safe-area-inset-right, 0px));
  /* Above fixed top bar (z-topbar: 50) but below discover popovers */
  z-index: calc(var(--z-topbar, 50) + 1);
  max-width: 28rem;
  margin: 0 auto;
  top: calc(
    var(--discover-current-topbar-height, var(--discover-topbar-height, 6.75rem)) + 0.625rem
  );
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  pointer-events: auto;
}

.discover-first-visit-hint__inner {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.discover-first-visit-hint__text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  flex: 1;
}

.discover-first-visit-hint__dismiss {
  flex-shrink: 0;
  border: none;
  background: transparent;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  min-height: 44px;
  min-width: 44px;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.125rem 0.25rem;
}

.discover-first-visit-hint__dismiss:hover {
  text-decoration: underline;
}

body:has(#discover-verification-banner) .discover-first-visit-hint {
  top: calc(
    var(--discover-current-topbar-height, var(--discover-topbar-height, 6.75rem)) + 3.25rem
  );
}

/* Do not compete with search / When popovers on phone */
body.discover-page:has(#datetime-picker-dropdown.show) .discover-first-visit-hint,
body.discover-page:has(#unified-autocomplete.show) .discover-first-visit-hint {
  visibility: hidden !important;
  pointer-events: none !important;
}
