.search-main .main-title {
    font-size: 0.75rem;
    color: #fafafa;
    text-align: center;
    margin-block: 1.2rem;
}

.search-main .main-title span {
    color: #fe628e;
}
.drop-box {
    display: flex;
    justify-content: space-between;
}
.xqbj-component-list-markers {
    margin-bottom: 1.2rem;
}
/* desktop */
@media (min-width: 960px) {
    .search-main .main-title {
        font-size: 1.8rem;
        margin-block: 1.875rem;
    }

    .search-main .main-title span {
        color: #fe628e;
    }
}

/* ===================== 搜索缺省页（对齐设计稿） ===================== */
body.search-route .search-page {
    box-sizing: border-box;
    padding: 1rem 0 2.5rem;
}

body.search-route .search-page__body {
    width: 100%;
}

body.search-route .search-page .search-wrap {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
}

/* —— 搜索框 —— */
body.search-route .search-page .search-wrap .search-box {
    display: flex;
    align-items: stretch;
    padding: 0.12rem 0.12rem 0.12rem 0.85rem;
    border-radius: 2rem;
    border: none;
    background: #2b2e3a;
    background-image: none;
}

body.search-route .search-page .search-wrap .search-box .search-content {
    display: flex;
    align-items: stretch;
    flex: 1;
    gap: 0.35rem;
    min-height: 1.75rem;
}

body.search-route .search-page .search-wrap .search-box .search-content > input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    padding: 0 0.25rem 0 0;
    background: transparent;
    font-size: 0.6rem;
    line-height: 1.4;
    color: #fff;
    align-self: center;
}

body.search-route .search-page .search-wrap .search-box .search-content > input::placeholder {
    color: rgba(255, 255, 255, 0.35);
    font-size: calc(14 / 32 * 1rem);
}

body.search-route .search-page .search-wrap .search-box .search-content .input-mobile-search-btn {
    flex-shrink: 0;
    align-self: stretch;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 1.1rem;
    border-radius: 1.15rem;
    background: #f90094;
    background-image: none;
    font-size: 0.6rem;
    font-weight: 500;
    line-height: 1;
    color: #fff;
    text-decoration: none;
}

/* —— 历史记录 —— */
body.search-route .search-history {
    margin-top: 1.25rem;
}

body.search-route .search-history[hidden] {
    display: none !important;
}

body.search-route .search-history__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.65rem;
}

body.search-route .search-history__title {
    margin: 0;
    font-size: 0.6rem;
    font-weight: 500;
    color: #fff;
}

body.search-route .search-history__clear {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.15rem;
    border: none;
    background: transparent;
    cursor: pointer;
    opacity: 0.85;
    position: relative;
    z-index: 1;
}

body.search-route .search-history__clear-text {
    display: inline;
    font-size: 0.6rem;
    font-weight: 400;
    line-height: 1;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    pointer-events: none;
}

body.search-route .search-history__clear-icon {
    display: none;
    width: 0.75rem;
    height: 0.75rem;
    object-fit: contain;
    pointer-events: none;
}

body.search-route .search-history__clear:hover {
    opacity: 1;
}

body.search-route .search-history__clear:hover .search-history__clear-text {
    color: var(--51av-highlight-text-color, #f90094);
}

body.search-route .search-history__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

body.search-route .search-history__tag {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.65rem;
    border-radius: 0.25rem;
    background: #2b2e3a;
    font-size: 0.6rem;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.2s ease, opacity 0.2s ease;
}

body.search-route .search-history__tag:hover {
    color: var(--51av-highlight-text-color, #f90094);
    opacity: 1;
}

/* —— 热门视频 —— */
body.search-route .search-page .home-hot-sections {
    margin-top: 1.5rem;
}

body.search-route .search-page .home-hot-block--videos .home-hot-block__title--videos {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
    font-size: 0.6rem;
    font-weight: 500;
    color: #fff;
}

body.search-route .search-page .home-hot-block__title-icon {
    display: block;
    width: 1.35rem;
    height: 1.35rem;
    object-fit: contain;
    flex-shrink: 0;
}

body.search-route .search-page .home-hot-search-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.search-route .search-page .search-hot-empty {
    padding: 1rem 0;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.45);
    text-align: center;
    list-style: none;
}

body.search-route .search-page .home-hot-search-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0;
    cursor: pointer;
}

body.search-route .search-page .home-hot-search-row__rank-cell {
    flex: 0 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: 1.25rem;
    min-height: 1.25rem;
}

body.search-route .search-page .home-hot-search-row__rank-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 1.25rem;
    font-size: 0.6rem;
    font-weight: 500;
    line-height: 1;
    color: rgba(255, 255, 255, 0.45);
}

body.search-route .search-page .home-hot-search-row__rank-img {
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    object-fit: contain;
    object-position: center;
}

body.search-route .search-page .home-hot-search-row__title {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-size: 0.6rem;
    font-weight: 400;
    color: #fff;
    line-height: 1.45;
    text-decoration: none;
    pointer-events: none;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    align-self: center;
}

body.search-route .search-page .home-hot-search-row:hover .home-hot-search-row__title {
    color: var(--51av-highlight-text-color, #f90094);
}

body.search-route .search-page .home-hot-search-row:hover .home-hot-search-row__rank-num {
    color: var(--51av-highlight-text-color, #f90094);
}

@media (max-width: 959px) {
    body.search-route #xqbj-container > .xqbj-main > .xqbj-main-container {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (min-width: 960px) {
    body.search-route #xqbj-container > .xqbj-main > .xqbj-main-container {
        width: 100%;
        max-width: none;
        margin: 0;
    }

    body.search-route .search-page {
        padding: 1.75rem 0 3rem;
    }

    body.search-route .search-page .search-wrap .search-box {
        padding: 0.15rem 0.15rem 0.15rem 1rem;
        border-radius: 2.5rem;
    }

    body.search-route .search-page .search-wrap .search-box .search-content {
        min-height: 2.5rem;
    }

    body.search-route .search-page .search-wrap .search-box .search-content > input {
        font-size: 1rem;
        padding: 0;
    }

    body.search-route .search-page .search-wrap .search-box .search-content > input::placeholder {
        font-size: 0.7rem;
    }

    body.search-route .search-page .search-wrap .search-box .search-content .input-mobile-search-btn {
        padding: 0 1.75rem;
        font-size: 1rem;
        border-radius: 1.35rem;
    }

    body.search-route .search-history {
        margin-top: 1.75rem;
    }

    body.search-route .search-history__clear-text {
        display: none;
    }

    body.search-route .search-history__clear-icon {
        display: block;
        width: 1rem;
        height: 1rem;
    }

    body.search-route .search-history__title {
        font-size: 0.75rem;
    }

    body.search-route .search-history__tag {
        padding: 0.45rem 0.85rem;
        font-size: 0.75rem;
        border-radius: 0.3rem;
    }

    body.search-route .search-page .home-hot-sections {
        margin-top: 2rem;
    }

    body.search-route .search-page .home-hot-block--videos .home-hot-block__title--videos {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }

    body.search-route .search-page .home-hot-block__title-icon {
        width: 1.62rem;
        height: 1.62rem;
    }

    body.search-route .search-page .search-hot-empty {
        font-size: 0.75rem;
    }

    body.search-route .search-page .home-hot-search-row {
        align-items: center;
        padding: 0.65rem 0;
    }

    body.search-route .search-page .home-hot-search-row__rank-cell {
        flex: 0 0 1.5rem;
        width: 1.5rem;
        min-height: 1.5rem;
    }

    body.search-route .search-page .home-hot-search-row__rank-num {
        min-height: 1.5rem;
        font-size: 0.75rem;
    }

    body.search-route .search-page .home-hot-search-row__rank-img {
        width: 1.5rem;
        height: 1.5rem;
    }

    body.search-route .search-page .home-hot-search-row__title {
        font-size: 0.75rem;
        -webkit-line-clamp: 2;
    }
}
