/* 搜索页专用样式 */

/* 搜索头部 */
.search-header {
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.search-bar {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    gap: 10px;
}

.logo-small {
    flex-shrink: 0;
}

.logo-small img {
    height: 24px;
    width: auto;
}

.search-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    border-radius: 20px;
    padding: 0 15px;
    height: 40px;
}

.search-input {
    flex: 1;
    border: none;
    background: none;
    font-size: 14px;
    color: #333;
    outline: none;
}

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

.search-submit-btn {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    transition: all 0.3s ease;
}

.search-submit-btn:active {
    transform: scale(0.95);
    opacity: 0.9;
}

/* 搜索结果横幅 */
.result-banner {
    background: linear-gradient(135deg, #ff9966 0%, #ff6b6b 50%, #ff5e62 100%);
    padding: 30px 20px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.result-banner::before,
.result-banner::after {
    content: "";
    position: absolute;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.result-banner::before {
    width: 200px;
    height: 200px;
    top: -100px;
    left: -50px;
}

.result-banner::after {
    width: 150px;
    height: 150px;
    bottom: -75px;
    right: -30px;
}

.result-banner p {
    position: relative;
    z-index: 1;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 主内容区 */
.search-main {
    background-color: #f5f5f5;
    padding-bottom: 20px;
}

/* 搜索提示 */
.search-tip {
    background-color: #fff;
    padding: 12px 15px;
    margin-bottom: 10px;
}

.tip-text {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.keyword {
    color: #ff6b6b;
    font-weight: 600;
}

.result-count {
    color: #ff6b6b;
    font-weight: 600;
}

/* 搜索结果列表 */
.result-list {
    background-color: #fff;
    padding: 0 12px;
}

.result-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
    transition: background-color 0.3s ease;
}

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

.result-item:active {
    background-color: #fafafa;
}

.result-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 14px;
    overflow: hidden;
    margin-right: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.result-info {
    flex: 1;
    min-width: 0;
    padding-right: 10px;
}

.result-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.result-title .highlight {
    color: #ff6b6b;
}

.result-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 4px;
}

.result-category {
    color: #999;
}

.result-date {
    color: #ff6b6b;
}

.result-desc {
    font-size: 12px;
    color: #999;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.result-btn {
    flex-shrink: 0;
    padding: 8px 20px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    border-radius: 18px;
    transition: all 0.3s ease;
}

.result-btn:active {
    transform: scale(0.95);
    opacity: 0.9;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background-color: #fff;
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.3;
}

.empty-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 8px;
}

.empty-tip {
    font-size: 14px;
    color: #999;
}

/* 响应式适配 - 小屏幕 */
@media screen and (max-width: 360px) {
    .result-banner p {
        font-size: 24px;
    }
    
    .result-icon {
        width: 65px;
        height: 65px;
    }
    
    .result-title {
        font-size: 14px;
    }
    
    .result-btn {
        padding: 6px 16px;
        font-size: 12px;
    }
}

/* 响应式适配 - 大屏幕 */
@media screen and (min-width: 414px) {
    .result-icon {
        width: 80px;
        height: 80px;
    }
    
    .result-title {
        font-size: 16px;
    }
}

/* 响应式适配 - 平板 */
@media screen and (min-width: 768px) {
    .search-header,
    .result-banner,
    .search-main {
        max-width: 750px;
        margin-left: auto;
        margin-right: auto;
    }
    .nav-bar{
        transform: translateX(0) !important;
    }
}

em,i{
    font-style: normal;
}
.u-more-btn {
    width: 100%;
    height: auto;
    padding: 10px 0;
    font-size: 15px;
    font-weight: normal;
    color: #999;
    text-align: center;
    display: none;
    overflow: hidden;
}