Local tumor delivery and IAT are frequently employed minimally invasive techniques for HCC. Local drug delivery systems concentrate the medication in the tumor area, minimizing the effects on healthy tissues by avoiding systemic circulation to prevent nontargeted interactions [
65]. Hydrogels, recognized for their high drug loading capacity, stability, and responsiveness to environmental stimuli, play a crucial role in this approach. Owing to their considerable size, megagels present delivery challenges and are therefore employed in in situ delivery techniques. These methods include transdermal delivery, direct injection, or direct application to the surface of a surgical cavity, thereby amplifying the therapeutic impact [
66]. For malignant tumors with complex anatomy, complete surgical removal is challenging. Even with postsurgical systemic chemotherapy, drugs often fail to successfully penetrate residual cancer sites, leading to poor efficacy [
67]. High-performing megagels can be directly injected during surgery or sprayed onto the interior and surface of cancerous tissues after surgery, thus accurately targeting cancer cells, reducing the impact of drugs on normal tissues, and enhancing therapeutic efficacy [
68]. Majumder et al. [
69] introduced a surface-filled hydrogel (SFH) encapsulating microRNA nanoparticles with anticancer properties. This SFH stands out for its remarkable adaptability to shape, seamlessly filling gaps and fissures of varied configurations when sprayed or injected into complex anatomical locations. The most straightforward approach employs a slow-gelling system that allows the initiation of gelation ex vivo. Due to the gradual nature of this process, the solution can be administered before it solidifies. The gelation kinetics are ideally balanced to prevent the needle from clogging while also preventing dilution of the pregel solution by bodily fluids upon injection. Moreover, the development of temperature-sensitive systems that solidify at body temperature offers a promising avenue for in situ gelation. While most natural polymers, such as gelatin, gel upon cooling and therefore must be introduced into the body at temperatures above physiological levels, certain synthetic polymers, such as poly(
N-isopropylacrylamide) (PNIPAm) and poly(ethylene oxide)-poly(propylene oxide)-poly(ethylene oxide) (PEO-PPO-PEO), exhibit reverse thermogelation: They solidify as temperatures increase [
70,
71] and remain flowable at room temperature, offering significant practical advantages [
12]. For instance, Fan et al. [
72] formulated a hydrogel comprising poloxamer 407, poloxamer 188, and the bioadhesive component carbomer 974 P. This hydrogel is characterized by its effective temperature sensitivity, which allows it to be directly applied to the surface of surgical cavities following cancer resection without adverse effects on surrounding healthy tissues. This approach has potential for preventing both tumor recurrence and the development of distant metastases. In particular, for HCC, leveraging the unique anatomical and physiological characteristics of the liver, especially its dual blood supply system, renders IAT therapy highly appropriate for liver cancer treatment. Even highly targeted drug delivery methods such as TACE can leave behind active tumor cells due to the complexity of the TME and the heterogeneity of HCC. However, exploiting the unique physical properties of hydrogels allows the creation of systems that can gradually release drugs at the tumor site, sustaining therapeutic effectiveness while reducing adverse effects on healthy liver tissues [
73]. Furthermore, the appropriate size, antimigration characteristics, ease of administration, and degradability of hydrogels render them highly suitable for use as embolic agents [
66]. Ablation therapy, a local treatment for liver cancer, destroys tumor cells through local heating. However, incomplete destruction of the tumor margin can lead to residual or recurrent tumors [
74]. In contrast, hydrogels can precisely target the marginal area for treatment. This is due to a complex interaction of multiple mechanisms. First, the hydrogel material can be delivered directly to the tumor area through local injection, thereby avoiding systemic side effects and accurately covering complex and irregular tumor margin areas. Second, through chemical modification, hydrogels can bind specific tumor cell surface receptors or biomarkers in the microenvironment, thereby enhancing their targeting in the tumor margin region. Additionally, hydrogels can be engineered to respond to particular signals present within the TME, including low pH, elevated hydrogen peroxide concentration, or high enzyme activity. For example, Zheng et al. [
75] developed a multifunctional hydrogel that enabled precise tumor margin ablation through local injection. Its excellent tissue retention ability and microenvironment-responsive design ensured efficient coverage and treatment of tumor margins. Moreover, hydrogels can adapt to changes in the TME caused by ablative therapy, such as reduced local blood flow and insufficient oxygen supply, to maintain the stability and efficacy of the drug. Additionally, as local therapy is not affected by tumor vascularity, drug delivery is not limited to better-perfused tumor areas. Compared to implants (wafers, rods, and films) and pellet-based drug delivery systems, injectable biodegradable hydrogels can facilitate minimally invasive, nonsurgical treatment and increase the retention of free or encapsulated drugs at the tumor site [
76].