styles.css
#share-card-button {
  position: absolute;
  z-index: 9999;
  cursor: pointer;
  background: white;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  padding: 5px;
  display: none;
}

#share-card-button img {
  width: 24px;
  height: 24px;
  display: block;
}

.share-card {
  position: relative; /* 添加这一行 */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 360px;
  padding: 24px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 10000;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.share-card-quote {
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 4px solid #3b82f6;
}

.share-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}

.share-card-site-info {
  display: flex;
  align-items: center;
}

.share-card-favicon {
  width: 16px;
  height: 16px;
  margin-right: 8px;
}

.share-card-site-details {
  display: flex;
  flex-direction: column;
}

.share-card-site-name {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.share-card-site-url {
  font-size: 12px;
  color: #666;
}

.share-card-logo {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.share-card-logo img {
  width: 24px;
  height: 24px;
  margin-right: 4px;
}

.share-card-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.share-card-close:hover {
  color: #333;
}

.share-card-actions {
  position: absolute;
  right: -50px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.share-card-action-button {
  background: white;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
}

.share-card-action-button:hover {
  background: #f0f0f0;
}

.share-card-action-button svg {
  width: 18px;
  height: 18px;
  color: #333;
}

/* 删除之前的 .share-card-download 相关样式 */