/* 乐闪快印资源站 - 搜索联想下拉 */
#scbar {
    position: relative !important;
    overflow: visible !important;
    z-index: 20;
}

.ls-search-suggest {
    position: absolute !important;
    top: calc(100% + 5px) !important;
    left: 0 !important;
    width: min(520px, calc(100vw - 32px)) !important;
    max-height: 360px;
    overflow-y: auto;
    padding: 6px;
    border: 1px solid #ffcc99;
    border-radius: 12px;
    background: #fffdf8;
    box-shadow: 0 12px 28px rgba(83, 48, 15, .16);
    display: none;
    box-sizing: border-box;
    z-index: 1002;
}

.ls-search-suggest.ls-ss-open {
    display: block;
}

.ls-ss-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ls-ss-item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 6px 10px;
    border-radius: 8px;
    color: #555;
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
    box-sizing: border-box;
}

.ls-ss-item.is-active {
    background: #fff2d9;
}

.ls-ss-item.is-direct {
    color: #b35a00;
}

.ls-ss-icon {
    flex: 0 0 auto;
    width: 16px;
    text-align: center;
    color: #ff9900;
    font-size: 15px;
}

.ls-ss-text {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ls-ss-text mark {
    padding: 0;
    background: transparent;
    color: #ff6600;
    font-weight: 700;
}

.ls-ss-label {
    flex: 0 0 auto;
    padding: 1px 7px;
    border-radius: 8px;
    background: #fff4dc;
    color: #c77a00;
    font-size: 11px;
    line-height: 18px;
}

@media (max-width: 760px) {
    .ls-search-suggest {
        width: calc(100vw - 24px) !important;
        left: -8px !important;
        max-height: 300px;
    }

    .ls-ss-item {
        min-height: 38px;
        padding: 8px 10px;
    }
}
