/* VervaReel 全站共用搜索 */

.search-panel {
    position: fixed;
    z-index: 220;
    inset: 0;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 15vh 20px 30px;
    background: rgba(0, 0, 0, .84);
    backdrop-filter: blur(13px);
}

.search-panel.open {
    display: flex;
}

.search-box {
    width: min(760px, 100%);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 14px;
    background: #131315;
    box-shadow: 0 16px 44px rgba(0, 0, 0, .44);
}

.search-input-row {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.search-input-row input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    color: #fff;
    background: transparent;
    font-size: clamp(17px, 2vw, 23px);
}

.search-input-row input::placeholder {
    color: #6e6e74;
}

.search-close {
    border: 0;
    color: #aaaab0;
    background: transparent;
    cursor: pointer;
}

.search-close:hover {
    color: #fff;
}

.search-results {
    padding: 18px 20px 24px;
}

.search-results p {
    color: #818188;
    font-size: 13px;
}

.result-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 14px;
}

.result-tags .genre-chip {
    flex: 0 0 auto;
    padding: 11px 18px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 999px;
    color: #c9c9ce;
    background: #101012;
    font-size: 13px;
    font-weight: 650;
    cursor: pointer;
    transition:
        color .2s ease,
        border-color .2s ease,
        background .2s ease;
}

.result-tags .genre-chip:hover,
.result-tags .genre-chip.active {
    color: #fff;
    border-color: rgba(255, 49, 88, .65);
    background: rgba(255, 49, 88, .13);
}

body.no-scroll {
    overflow: hidden;
}