.sip-wrapper {
    position: relative;
    width: 100%;
}

.sip-results {
    list-style: none;
    margin: 4px 0 0;
    padding: 0 0 0 80px;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 9999;
    max-height: 500px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    scrollbar-width: thin;
    box-sizing: border-box;
}

.sip-results::-webkit-scrollbar {
    width: 8px;
}
.sip-results::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}
.sip-results::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.sip-results .search-label {
    padding: 16px 20px;
    font-weight: 500;
    color: #000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 15px;
}

.sip-results li {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.sip-results li:last-child {
    border-bottom: none;
}

.sip-results li a {
    display: flex;
    align-items: center;
    width: 100%;
    color: #111;
    text-decoration: none;
    gap: 16px;
}

.sip-thumb {
    width: 90px;
    height: 60px;
    border-radius: 12px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.sip-results li:hover .sip-thumb {
    transform: scale(1.05);
}

.sip-title {
    font-size: 16px;
    line-height: 1.5;
    color: #111;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
    flex-grow: 1;
}

.sip-results .loading,
.sip-results .no-result {
    text-align: center;
    padding: 20px;
    font-size: 14px;
    color: #777;
    background: rgba(255, 255, 255, 0.9);
}

.sip-results .loading img {
    width: 24px;
    height: 24px;
    opacity: 0.8;
}

.sip-results .show-more {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 12px 20px;
    text-align: left;
}

.sip-results .show-more .label.more {
    margin: 0;
}

.sip-results .show-more a {
    display: inline-block;
    color: #ff0000;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 0, 0, 0.1);
}

@media only screen and (max-width: 1249px) {
    .sip-results {
        width: 100%;
        max-width: 399px;
        right: 0;
        left: 0;
        margin: 4px auto 0;
    }

    .sip-wrapper {
        max-width: 399px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .sip-results {
        max-height: 70vh;
        margin: 2px 0 0;
        border-radius: 12px;
        padding: 0 0 0 0px;
        width: 100%;
    }

    .sip-thumb {
        width: 50px;
        height: 50px;
        padding: 2px;
        border-radius: 8px;
    }

    .sip-title {
        font-size: 13px;
        -webkit-line-clamp: 2;
        line-height: 1.3;
        padding-right: 10px;
        word-break: break-word;
    }

    .sip-results li {
        padding: 8px 12px;
    }

    .sip-results li a {
        gap: 10px;
        width: 100%;
    }

    .sip-results .search-label {
        padding: 12px;
        font-size: 13px;
    }

    .sip-results .show-more {
        padding: 8px 12px;
    }

    .sip-results .show-more a {
        padding: 6px 12px;
        font-size: 13px;
    }
}
