/**
 * 移动端搜索插件最近搜索词样式
 * 与 top-bar 的搜索下拉菜单样式保持一致
 */

.mobile-recent-searches {
  padding: 16px;
}

.mobile-recent-searches__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.mobile-recent-searches__title {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  color: var(--color-text);
}

.mobile-recent-searches__clear {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-secondary, #666);
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.mobile-recent-searches__clear:hover {
  opacity: 1;
}

.mobile-recent-searches__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mobile-recent-searches__tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: var(--color-background-secondary, #f5f5f5);
  border-radius: 16px;
  font-size: 13px;
  color: var(--color-text);
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.mobile-recent-searches__tag:hover {
  background: var(--color-background-tertiary, #eaeaea);
  text-decoration: none;
}
