#historys {
    right: -16px;
    width: 300px;
    max-height: 520px;
    padding: 0 8px 8px;
    background: var(--sbg);
    border: 1px solid var(--br);
    border-radius: 4px;
    box-shadow: 0 2px 8px rgb(0 0 0 / 18%);
    overflow-y: auto;
}

#historys li {
    float: none;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

#historys .history-clear {
    height: 32px;
    line-height: 32px;
    text-align: right;
}

#historys .history-clear a {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 32px !important;
    line-height: 32px !important;
    font-size: 13px !important;
    color: var(--color) !important;
}

#historys .history-clear a:hover {
    background: none !important;
    color: var(--style) !important;
}

#historys .history-link {
    display: flex !important;
    align-items: center;
    gap: 10px;
    min-height: 76px;
    margin: 0 !important;
    padding: 10px 0 !important;
    height: auto !important;
    line-height: normal !important;
    color: var(--color) !important;
    border-bottom: 1px solid var(--br);
}

#historys li:last-child .history-link {
    border-bottom: 0;
}

#historys .history-link:hover {
    background: none !important;
    color: var(--color) !important;
}

#historys .history-link:hover .history-title {
    color: var(--style);
}

#historys .history-img {
    width: 40px;
    height: 58px;
    margin: 0;
    flex-shrink: 0;
    border-radius: 0;
    overflow: hidden;
    background-color: var(--lbg);
}

#historys .history-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: var(--brightness85);
}

#historys .history-info {
    flex: 1;
    min-width: 0;
    height: 58px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#historys .history-title {
    display: block;
    width: 100%;
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
    color: var(--color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#historys .history-detail {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 2px;
    font-size: 13px;
    line-height: 18px;
    color: var(--color);
}

#historys .history-meta {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--color);
}

#historys .history-time {
    display: block;
    margin-top: 1px;
    font-size: 13px;
    line-height: 18px;
    color: var(--colorb);
}

#historys .history-empty a {
    display: block !important;
    margin: 0 !important;
    padding: 12px !important;
    height: auto !important;
    line-height: normal !important;
    text-align: center;
    color: var(--color) !important;
}

#historys .history-empty a:hover {
    background: none !important;
    color: var(--style) !important;
}
