
/* 搜索样式 */
.search-container {
    max-width: 600px;
    margin: 4px auto;
    font-family: Arial, sans-serif;
    margin-bottom: 5px;
}

.engine-options {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}

.engine-option {
    cursor: pointer;
    color: #555;
    padding-bottom: 3px;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
}

.dark-mode .engine-option {
    color: #dee2e6;
}

.engine-option.active {
    font-weight: bold;
    color: #5961f9;
    border-bottom: 2px solid #5961f9;
}

.dark-mode .engine-option.active {
    color: #dee2e6;
    border-bottom: 2px solid #dee2e6;
}

.search-box {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 15px;
}

.dark-mode .search-box {
    border: 1px solid #495057;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    outline: none;
    font-size: 16px;
}

.dark-mode .search-input {
    background: #343a40;
    color: #dee2e6;
}

.search-button {
    /* background: #f8f9fa; */
    border: none;
    padding: 0 20px;
    cursor: pointer;
    color: #555;
}

.dark-mode .search-button {
    background: #495057;
    color: #dee2e6;
}

.search-button:hover {
    background: #f0f0f0;
}

.dark-mode .search-button:hover {
    background: #343a40;
    color: #dee2e6;
}

.popular-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.keyword {
    display: inline-block;
    padding: 5px 12px;
    /* background: #f5def7; */
    border-radius: 16px;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
}

.keyword:hover {
    background: #e5e7eb;
    color: #111827;
}

.dark-mode .keyword:hover {
    background: #495057;
    color: #dee2e6;
}

.text-purple {
    color: #5961f9;
}

/* 网址卡片 */
.site-card {
  border: 1px solid rgba(128, 0, 128, 0.2);
  border-radius: 8px;
  padding: 12px;
  transition: background-color 0.2s ease;
  height: 100%;
  cursor: pointer;
  background: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.site-card:hover {
  /* background-color: rgba(128, 0, 128, 0.05); */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.site-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 限制 2 行 */
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.btn-top {
  background: rgba(128, 0, 128, 0.1);
  border: none;
  color: purple;
  padding: 2px 5px;
  display: flex;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 1;
  cursor: pointer;
}
.site-card:hover .btn-top {
  opacity: 1;
  /* display: inline-block; */
}

.site-name:hover {
    color: #5961f9;
}


/* tool */
.tool-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #eee;
}
.preview-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
/* .tag {
    display: inline-block;
    padding: 3px 10px;
    background: #f3f4f6;
    border-radius: 20px;
    margin-right: 8px;
    margin-bottom: 8px;
    font-size: 12px;
} */
.tag {
    display: inline-block;
    padding: 2px 6px;
    /* background: rgba(110, 72, 170, 0.1); */
    background: white;
    border: 1px solid rgba(128, 0, 128, 0.2);
    color: rgba(110, 72, 170, 0.9);
    /* color: var(--primary-color); */
    border-radius: 4px;
    font-size: 0.7rem;
    margin-right: 4px;
    margin-bottom: 4px;
}

.social-icon {
    font-size: 20px;
    color: #666;
    margin-right: 15px;
    transition: all 0.3s;
}
.social-icon:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}
.ad-bar {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin: 30px 0;
    border: 1px dashed #ddd;
}
.similar-site {
    display: inline-block;
    width: 120px;
    margin-right: 15px;
    text-align: center;
}
.similar-site img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-bottom: 5px;
}


.section-title {
    /* font-size: 20px; */
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}