.history-container {
    max-width: 768px;
    margin: auto;
    margin-bottom: 2rem;
}

.history-container .search-container {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    padding: 0.2rem;
    border: 0.5px solid var(--51av-highlight-text-color);
    border-radius: 999px;
    background-color: #fff;
    font-size: 0.75rem;
}

.history-container .search-container input {
    padding: 0.2rem;
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    color: #2b142c;
}

.history-container .search-container > span {
    color: #fff;
    background-color: var(--51av-highlight-text-color);
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    font-size: 0.65rem;
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.history-header h3 {
    font-size: 0.75rem;
    color: #2b142c;
}

.history-header img {
    display: block;
    width: 0.8rem;
    height: 0.8rem;
    cursor: pointer;
}

.history-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.history-list .history-list-item {
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 0.2rem;
    font-size: 0.75rem;
    background-color: rgba(var(--51av-highlight-text-color2), 0.25);
    color: var(--51av-highlight-text-color);
    border: solid 0.5px;
    cursor: pointer;
}

.xqbj-footer {
    display: none !important;
}

/* desktop */
@media (min-width: 960px) {
    .history-container .search-container {
        margin-bottom: 1rem;
    }

    .history-container .search-container input {
        padding: 0.5rem;
    }

    .history-container .search-container > span {
        padding: 0.5rem 1rem;
    }

    .history-list {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .history-header img {
        width: 1rem;
        height: 1rem;
    }

    .xqbj-component-history-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .xqbj-component-history-list .xqbj-component-history-list-item-poster {
        width: 36%;
    }
}
