/* First-run and return-loop restraint.
   The whole empty Today card is the action; this label is only a quiet cue. */
html body main.app-shell section.map-stage.home-focus.has-empty-home header.topbar > a.brand {
  grid-column: 1 !important;
  grid-row: 1 !important;
  justify-self: center !important;
}

html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.is-empty-today {
  cursor: pointer !important;
}

html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.is-empty-today:focus-visible {
  outline: 3px solid rgba(20, 160, 139, 0.42) !important;
  outline-offset: 4px !important;
}

html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.is-empty-today .today-empty-action {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 8px auto 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #0b746f !important;
  -webkit-text-fill-color: #0b746f !important;
  font-size: 0.79rem !important;
  font-weight: 760 !important;
  letter-spacing: 0.01em !important;
  line-height: 1.3 !important;
  pointer-events: none !important;
}

html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.is-empty-today .today-empty-action > span {
  display: inline-block !important;
  transform: translateY(-1px) !important;
}

@media (max-width: 699px) {
  /* The phone invitation should end with its action. Older Today layers leave
     a dashed inset border on ::before, then reposition that pseudo-element as
     a clipped ellipse; together with their fixed minimum height this creates
     the stray arc and an empty lower shelf. Keep the populated card untouched. */
  html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.is-empty-today .empty-memory-invite,
  html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.is-empty-today .empty-memory-invite {
    min-height: 0 !important;
    padding: 20px 16px 18px !important;
  }

  html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.is-empty-today .today-empty-preview-card,
  html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.is-empty-today .today-empty-preview-card {
    gap: 8px !important;
    padding: 14px 10px 12px !important;
  }

  html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.is-empty-today .empty-memory-invite::before,
  html body main.app-shell section.map-stage.home-focus #homeMemoryOfDay .today-memory-card.is-empty-today .empty-memory-invite::before {
    content: none !important;
    display: none !important;
    border: 0 !important;
  }

  html body .app-shell .map-stage.home-focus #homeMemoryOfDay .today-memory-card.is-empty-today .today-empty-action {
    margin-top: 6px !important;
    font-size: 0.75rem !important;
  }
}
