/* 页面通用样式 */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

.page-header h1 {
    font-size: 2rem;
    margin: 0 0 10px;
    font-weight: 600;
}

.page-header .subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.section-title {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 分类页面样式 */
.category-section {
    margin-bottom: 40px;
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.category-tab-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    color: #495057;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.category-tab-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.category-tab-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.subcategory-section {
    margin-bottom: 40px;
}

.subcategory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
}

.subcategory-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.subcategory-card:hover {
    border-color: #667eea;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
    color: #667eea;
}

.subcategory-name {
    font-size: 1rem;
    font-weight: 500;
}

.subcategory-arrow {
    font-size: 1.2rem;
    color: #adb5bd;
    transition: all 0.3s;
}

.subcategory-card:hover .subcategory-arrow {
    color: #667eea;
    transform: translateX(4px);
}

/* 筛选页面样式 */
.filter-section {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.filter-group-container {
    margin-bottom: 30px;
}

.filter-group-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-tag-btn {
    padding: 10px 18px;
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 20px;
    font-size: 0.95rem;
    color: #495057;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-tag-btn:hover {
    background: #e7f3ff;
    border-color: #667eea;
    color: #667eea;
}

.filter-tag-btn.selected {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.filter-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.btn-apply {
    padding: 12px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.btn-clear {
    padding: 12px 32px;
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-clear:hover {
    background: #f8f9fa;
}

/* 收录页面样式 */
.submit-form {
    background: white;
    border-radius: 16px;
    padding: 30px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    font-size: 1rem;
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
    transition: all 0.3s;
}

.form-textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

/* 个人中心样式 */
.user-profile {
    background: white;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.user-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.user-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.user-role {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
}

.user-menu {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    background: #f8f9fa;
    padding-left: 28px;
}

.menu-item-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-icon {
    font-size: 1.3rem;
}

.menu-text {
    font-size: 1rem;
    font-weight: 500;
}

.menu-arrow {
    color: #adb5bd;
    font-size: 1.2rem;
}

/* 响应式优化 */
@media (max-width: 767px) {
    .page-header {
        padding: 30px 16px;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .page-content {
        padding: 20px 16px;
    }
    
    .category-tabs {
        gap: 8px;
    }
    
    .category-tab-btn {
        padding: 10px 18px;
        font-size: 0.95rem;
    }
    
    .subcategory-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .subcategory-card {
        padding: 14px 16px;
    }
    
    .subcategory-name {
        font-size: 0.95rem;
    }
    
    .filter-section {
        padding: 20px;
    }
    
    .submit-form {
        padding: 20px;
    }
}

/* ============ 首页样式 ============ */
.home-header {
    padding: 60px 20px 40px;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.home-logo h1 {
    font-size: 3rem;
    color: white;
    margin: 0 0 10px;
    font-weight: 700;
}

.slogan {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin: 0 0 40px;
}

.search-section {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 15px;
}

.search-box {
    display: flex;
    gap: 8px;
    background: white;
    border-radius: 30px;
    padding: 6px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 18px;
    font-size: 1rem;
    border-radius: 25px;
    min-width: 0;
}

.search-input::placeholder {
    color: #aaa;
}

.search-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(102,126,234,0.4);
}

.home-categories,
.home-recommend {
    padding: 30px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 1.3rem;
    color: #333;
    margin: 0 0 20px;
    font-weight: 600;
}

.recommend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.recommend-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    background: white;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.recommend-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102,126,234,0.2);
}

.site-avatar {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    flex-shrink: 0;
}

.site-info {
    flex: 1;
    min-width: 0;
}

.site-name {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.site-desc {
    font-size: 0.85rem;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 首页响应式 */
@media (max-width: 767px) {
    .home-header {
        padding: 30px 16px 25px;
    }
    
    .home-logo h1 {
        font-size: 1.8rem;
    }
    
    .slogan {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }
    
    .search-section {
        padding: 0 10px;
    }
    
    .search-box {
        flex-direction: row;
        border-radius: 25px;
        padding: 6px;
    }
    
    .search-input {
        padding: 10px 15px;
        font-size: 0.95rem;
    }
    
    .search-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
        border-radius: 20px;
    }
    
    .home-recommend {
        padding: 20px 15px;
    }
    
    .recommend-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* ============ 分类标签新样式 - 每行4/8个分类 + 右对齐 ============ */
.category-tags-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.category-tags-wrapper {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.tag-item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
    white-space: nowrap;
}

.tag-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 2px 6px rgba(102,126,234,0.3);
}

.tag-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102,126,234,0.4);
}

.tag-secondary {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #495057;
    border: 1px solid #dee2e6;
}

.tag-secondary:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102,126,234,0.3);
}

.tag-icon {
    font-size: 1.1rem;
}

.tag-name {
    font-weight: 600;
}

/* 响应式 - 手机端4个，平板/桌面8个 */
@media (max-width: 992px) {
    .category-tags-wrapper {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .category-tags-container {
        padding: 15px;
    }
    
    .category-tags-wrapper {
        gap: 8px;
        padding: 12px;
    }
    
    .tag-item {
        padding: 8px 10px;
        font-size: 0.85rem;
    }
    
    .tag-icon {
        font-size: 1rem;
    }
}

/* ============ 分类列表页样式 ============ */
.list-topbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.topbar-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.topbar-search {
    flex: 1;
    max-width: 500px;
    display: flex;
    gap: 10px;
    background: white;
    border-radius: 30px;
    padding: 6px 10px;
}

.search-input-small {
    flex: 1;
    border: none;
    outline: none;
    padding: 8px 12px;
    font-size: 0.95rem;
}

.search-btn-small {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
}

.list-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* 面包屑导航 */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    padding: 15px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.breadcrumb-item {
    color: #667eea;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s;
}

.breadcrumb-item:hover {
    color: #764ba2;
    text-decoration: underline;
}

.breadcrumb-item.current {
    color: #333;
    font-weight: 600;
}

.breadcrumb-sep {
    color: #999;
    font-size: 0.9rem;
}

.subcategories {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.subcategory-item {
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.subcategory-item:hover {
    color: #667eea;
}

.subcategory-item.current {
    color: #667eea;
    font-weight: 700;
}

.subcat-sep {
    color: #999;
    font-size: 0.9rem;
}

.filter-group-item {
    cursor: pointer;
    user-select: none;
}

.filter-group-item:hover {
    color: #667eea;
}

.filter-group-item.expanded {
    background: linear-gradient(135deg, #f5f7ff 0%, #e8edff 100%);
    border-radius: 4px;
    padding: 4px 8px;
    margin: -4px -8px;
}

.filter-option-item {
    cursor: pointer;
    user-select: none;
}

.filter-option-item:hover {
    color: #667eea;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 1.1rem;
}

.list-filter {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.filter-group-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-tags-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
    align-items: center;
}

.filter-section-label,
.filter-tag-item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
    white-space: nowrap;
}

.filter-section-label {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 2px 6px rgba(102,126,234,0.3);
}

.filter-section-label:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102,126,234,0.4);
}

.filter-tag-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #495057;
    border: 1px solid #dee2e6;
}

.filter-tag-item:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102,126,234,0.3);
}

.filter-section-label .tag-icon {
    font-size: 1.1rem;
}

.filter-section-label .tag-name {
    font-weight: 600;
}

/* 响应式 - 手机端4个，平板6个 */
@media (max-width: 1200px) {
    .filter-tags-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 992px) {
    .filter-tags-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .filter-tags-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    
    .filter-section-label,
    .filter-tag-item {
        padding: 8px 10px;
        font-size: 0.85rem;
    }
    
    .filter-section-label .tag-icon {
        font-size: 1rem;
    }
}

.list-content {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.site-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.site-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 20px;
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
}

.site-card:hover {
    border-color: #667eea;
    box-shadow: 0 4px 20px rgba(102,126,234,0.15);
    transform: translateX(5px);
}

.site-avatar-large {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: white;
    flex-shrink: 0;
}

.site-card-info {
    flex: 1;
    min-width: 0;
}

.site-card-name {
    font-size: 1.15rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.site-card-desc {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.5;
}

.site-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.meta-tag {
    padding: 4px 10px;
    background: #f0f7ff;
    color: #667eea;
    border-radius: 12px;
    font-size: 0.85rem;
}

.meta-hot {
    font-size: 0.85rem;
    color: #999;
}

.site-card-action {
    flex-shrink: 0;
}

.visit-btn {
    padding: 10px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.visit-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(102,126,234,0.4);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.page-btn {
    padding: 10px 16px;
    background: #f5f7fa;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.page-btn:hover {
    background: #e8edff;
    color: #667eea;
}

.page-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* 列表页响应式 */
@media (max-width: 992px) {
    .list-container {
        grid-template-columns: 1fr;
    }
    
    .list-sidebar {
        display: none;
    }
}

@media (max-width: 767px) {
    .list-topbar {
        padding: 12px 16px;
    }
    
    .topbar-logo {
        font-size: 1.2rem;
    }
    
    .topbar-search {
        max-width: 100%;
    }
    
    .list-container {
        padding: 12px;
    }
    
    .list-content {
        padding: 12px;
    }
    
    .site-list {
        gap: 10px;
    }
    
    .site-card {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        padding: 12px;
    }
    
    .site-avatar-large {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
        flex-shrink: 0;
    }
    
    .site-card-info {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    
    .site-card-name {
        font-size: 0.95rem;
        font-weight: 600;
        margin: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .site-card-desc {
        font-size: 0.8rem;
        color: #999;
        margin: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .site-card-meta {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: nowrap;
    }
    
    .meta-tag {
        font-size: 0.75rem;
        padding: 2px 6px;
        white-space: nowrap;
    }
    
    .meta-hot {
        font-size: 0.75rem;
        white-space: nowrap;
    }
    
    .site-card-action {
        flex-shrink: 0;
    }
    
    .visit-btn {
        width: auto;
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .page-btn {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .breadcrumb-nav {
        padding: 10px 12px;
        gap: 6px;
    }
    
    .breadcrumb-item {
        font-size: 0.85rem;
    }
    
    .subcategory-item {
        font-size: 0.85rem;
    }
    
    .filter-toggle {
        font-size: 0.85rem;
    }
    
    .filter-option.selected {
        font-weight: 700;
    }
}

/* ============ 搜索结果页样式 ============ */
.search-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 25px 20px;
}

.search-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.search-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.search-stats {
    font-size: 0.95rem;
    color: #999;
}

.search-suggestions {
    margin-bottom: 25px;
}

.hot-search {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.hot-search-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px;
}

.hot-search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hot-tag {
    padding: 8px 16px;
    background: linear-gradient(135deg, #f5f7ff 0%, #e8edff 100%);
    color: #667eea;
    border-radius: 20px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
}

.hot-tag:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102,126,234,0.3);
}

.no-result {
    text-align: center;
    padding: 60px 20px;
}

.no-result-icon {
    font-size: 5rem;
    margin-bottom: 20px;
}

.no-result p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 10px;
}

.no-result-tip {
    font-size: 0.95rem !important;
    color: #999 !important;
}

.highlight {
    background: #fff3cd;
    padding: 2px 4px;
    border-radius: 4px;
    font-weight: 600;
    color: #856404;
}

/* 搜索页响应式 */
@media (max-width: 767px) {
    .search-container {
        padding: 15px;
    }
    
    .search-result-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .search-title {
        font-size: 1.1rem;
    }
    
    .hot-search {
        padding: 15px;
    }
    
    .hot-tag {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
}
