.layui-layer.search-popup-layer {
    border: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18);
}

.layui-layer.search-popup-layer .layui-layer-content {
    padding: 0;
    overflow: visible;
}

.search-popup {
    padding: 48px 24px;
}

.search-popup__field {
    margin-bottom: 28px;
}

.search-popup__input-wrap {
    position: relative;
}

.search-popup__input {
    width: 100%;
    height: 52px;
    border: 0;
    border-radius: 10px;
    background: rgba(24, 24, 24, 0.025);
    padding: 0 44px 0 18px;
    font-size: 15px;
    color: #111827;
    border: none;
    outline: none;
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.search-popup__input::placeholder {
    color: #9ca3af;
}

.search-popup__clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: rgba(17, 24, 39, 0.08);
    color: #6b7280;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s ease, color 0.2s ease;
}

.search-popup__clear.is-visible {
    display: inline-flex;
}

.search-popup__clear:hover {
    background: rgba(17, 24, 39, 0.14);
    color: #111827;
}

/* .search-popup__input:focus {
    background: #eef2f7;
    box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.08);
} */

.search-popup__suggest-title {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9ca3af;
}

.search-popup__suggest-list {
    margin: 0;
    padding: 14px 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    border-top: 1px solid #e5e7eb;
}

.search-popup__suggest-list li + li {
    margin-top: 2px;
}

.search-popup__suggest-list a {
    display: inline-block;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: #111827;
    transition: color 0.25s ease, opacity 0.25s ease;
}

.search-popup__suggest-list a:hover {
    color: var(--yellow-color);
}

.search-popup__cursor-close {
    position: fixed;
    z-index: 19892000;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.96);
    color: #111827;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.88);
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.search-popup__cursor-close.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.search-popup__cursor-close span {
    display: block;
    margin-top: -2px;
}

#followDiv.search-popup__follow {
    position: fixed;
    pointer-events: none;
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.96);
    color: #111827;
    font-size: 36px;
    font-weight: 400;
    line-height: 1;
    border-radius: 50%;
    z-index: 19892000;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    transform: translate(-50%, -50%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s ease;
}

#followDiv.search-popup__follow.is-visible {
    opacity: 1;
    visibility: visible;
}

@media screen and (max-width: 640px) {
    .layui-layer.search-popup-layer {
        width: calc(100vw - 32px) !important;
        left: 16px !important;
        margin-left: 0 !important;
    }

    .search-popup {
        padding: 24px 20px 28px;
    }
}
