.integrated-search {
    .search-input-wrap {
        background: var(--gray-000);

        .integrated-search-scope {
            display: inline-flex;
            flex-shrink: 0;
            align-items: center;
            gap: 1px;
            padding: 7px 12px;
            border: 1px solid var(--primary-color);
            border-radius: 10px;
            background: var(--white-color);
            font-size: 14px;
            font-weight: 600;
            line-height: 1.2;
            color: var(--primary-color);

            .integrated-search-scope-x {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                width: 16px;
                height: 16px;
                padding: 0;
            }
        }

        .search-input {
            &::placeholder {
                color: var(--gray-300);
            }
        }
    }

    .search-recent {
        margin-top: 24px;

        .integrated-search-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 16px;

            .search-recent-title {
                padding: 0;
                font-size: 13px;
                font-weight: 600;
                color: var(--gray-900);
            }

            .integrated-search-clear {
                font-size: 13px;
                font-weight: 500;
                color: var(--gray-400);
            }
        }
    }

    .integrated-search-tabs {
        display: flex;
        gap: 16px;
        margin-top: 14px;
        padding: 0 16px;
        border-bottom: 1px solid var(--gray-050);

        .integrated-search-tab {
            padding: 10px 20px 5px 20px;
            border-bottom: 5px solid transparent;
            font-size: 16px;
            font-weight: 500;
            color: var(--gray-400);

            &.active {
                color: var(--primary-color);
                font-weight: 700;
                border-bottom-color: var(--primary-color);
            }
        }
    }

    .integrated-search-list {
        margin-top: 20px;
        padding: 0 16px;

        .content-card {
            margin-bottom: 24px;
            padding-bottom: 24px;
            border-bottom: 1px solid var(--gray-050);
        }

        .story-body {
            & > :last-child {
                margin-bottom: 0;
                border-bottom: 0;
            }
        }
    }

    &:has(> .integrated-search-empty:not(.hidden)) {
        display: flex;
        flex-direction: column;
    }

    .integrated-search-empty {
        display: flex;
        flex: 1;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 0 16px;
        text-align: center;

        img {
            width: 100px;
            height: 100px;
        }

        p {
            font-size: 15px;
            font-weight: 500;
            line-height: 1.6;
            color: var(--gray-400);
        }
    }
}
