[data-cat]::before, .chip[data-c]:not([data-c=""])::before, .tag-free::before {
  content: ""; display: inline-block; flex: none; width: 1.15em; height: 1.15em; margin-right: 0.35em; vertical-align: -0.2em;
  background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;
}
[data-cat=""]::before { display: none; }
[data-cat], .chip[data-c] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203v4M12%2017v4M3%2012h4M17%2012h4M6%206l2.5%202.5M15.5%2015.5%2018%2018M6%2018l2.5-2.5M15.5%208.5%2018%206%22%2F%3E%3C%2Fsvg%3E"); }
.tag-free { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%229%22%20width%3D%2216%22%20height%3D%2211%22%20rx%3D%221.5%22%2F%3E%3Cpath%20d%3D%22M3%209h18M12%209v11M12%209c-1.6-3.6-6-4.2-6-1.6%200%201.6%203.8%201.6%206%201.6Zm0%200c1.6-3.6%206-4.2%206-1.6%200%201.6-3.8%201.6-6%201.6Z%22%2F%3E%3C%2Fsvg%3E"); }
.tag-free::before { margin-right: 0.25em; }
[data-cat="展覽"], .chip[data-c="展覽"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%224%22%20width%3D%2216%22%20height%3D%2216%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22m4%2016%204.5-4.5%203%203L15%2011l5%205%22%2F%3E%3Ccircle%20cx%3D%229%22%20cy%3D%229%22%20r%3D%221.6%22%2F%3E%3C%2Fsvg%3E"); }
[data-cat="藝文活動"], .chip[data-c="藝文活動"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%204a8%208%200%201%200%200%2016c1.1%200%201.6-.8%201.3-1.7-.4-1.1.3-2.3%201.5-2.3H17a3%203%200%200%200%203-3c0-5-3.6-9-8-9Z%22%2F%3E%3Ccircle%20cx%3D%228%22%20cy%3D%2211%22%20r%3D%221.2%22%2F%3E%3Ccircle%20cx%3D%2211%22%20cy%3D%227.5%22%20r%3D%221.2%22%2F%3E%3Ccircle%20cx%3D%2215.5%22%20cy%3D%228.5%22%20r%3D%221.2%22%2F%3E%3C%2Fsvg%3E"); }
[data-cat="音樂"], .chip[data-c="音樂"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%2018V6l10-2v12%22%2F%3E%3Ccircle%20cx%3D%226.5%22%20cy%3D%2218%22%20r%3D%222.5%22%2F%3E%3Ccircle%20cx%3D%2216.5%22%20cy%3D%2216%22%20r%3D%222.5%22%2F%3E%3C%2Fsvg%3E"); }
[data-cat="演唱會"], .chip[data-c="演唱會"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%229%22%20y%3D%223%22%20width%3D%226%22%20height%3D%2211%22%20rx%3D%223%22%2F%3E%3Cpath%20d%3D%22M5.5%2011a6.5%206.5%200%200%200%2013%200M12%2017.5V21M9%2021h6%22%2F%3E%3C%2Fsvg%3E"); }
[data-cat="獨立音樂"], .chip[data-c="獨立音樂"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m14%2010%206-6M17.5%203.5l3%203%22%2F%3E%3Cpath%20d%3D%22M11.5%209.5a3%203%200%200%200-4.6.7L4.6%2014a3.4%203.4%200%200%200%205.4%205.4l3.8-2.3a3%203%200%200%200%20.7-4.6%22%2F%3E%3Ccircle%20cx%3D%2210%22%20cy%3D%2214%22%20r%3D%221.4%22%2F%3E%3C%2Fsvg%3E"); }
[data-cat="戲劇"], .chip[data-c="戲劇"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%205h16v6a8%208%200%200%201-16%200Z%22%2F%3E%3Cpath%20d%3D%22M8.5%2010h.01M15.5%2010h.01M9%2014.5c1.7%201.3%204.3%201.3%206%200%22%2F%3E%3C%2Fsvg%3E"); }
[data-cat="舞蹈"], .chip[data-c="舞蹈"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2213%22%20cy%3D%224.5%22%20r%3D%221.8%22%2F%3E%3Cpath%20d%3D%22m8%2021%203-6%203%202v4M11%2015l1-5%204%202%203-2M12%2010%208%209l-3%202%22%2F%3E%3C%2Fsvg%3E"); }
[data-cat="綜藝"], .chip[data-c="綜藝"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m12%203%202.7%205.6%206.1.9-4.4%204.3%201%206.1L12%2017l-5.4%202.9%201-6.1-4.4-4.3%206.1-.9Z%22%2F%3E%3C%2Fsvg%3E"); }
[data-cat="講座"], .chip[data-c="講座"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%205h14v10H9l-4%204Z%22%2F%3E%3Cpath%20d%3D%22M9%2010h6%22%2F%3E%3C%2Fsvg%3E"); }
[data-cat="電影"], .chip[data-c="電影"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2214%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M7%205v14M17%205v14M3%209.5h4M3%2014.5h4M17%209.5h4M17%2014.5h4%22%2F%3E%3C%2Fsvg%3E"); }
[data-cat="研習課程"], .chip[data-c="研習課程"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%226.5%22%20cy%3D%2217.5%22%20r%3D%222.5%22%2F%3E%3Ccircle%20cx%3D%2217.5%22%20cy%3D%2217.5%22%20r%3D%222.5%22%2F%3E%3Cpath%20d%3D%22M8.4%2015.8%2019%204.5M15.6%2015.8%205%204.5%22%2F%3E%3C%2Fsvg%3E"); }
[data-cat="節慶活動"], .chip[data-c="節慶活動"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2020%208.6%208.6l6.8%206.8Z%22%2F%3E%3Ccircle%20cx%3D%227.6%22%20cy%3D%2215.6%22%20r%3D%22.6%22%2F%3E%3Ccircle%20cx%3D%2210%22%20cy%3D%2217.2%22%20r%3D%22.6%22%2F%3E%3Cpath%20d%3D%22M12.5%208.5c.3-1.6%201.6-2.2%201.2-3.8M15.5%2011.5c1.6-.3%202.2-1.6%203.8-1.2M13.8%2010.2%2018.5%205.5M9.5%204.5l.8.8M18.5%2013.8l.8.8M17%203.5h.01M20.5%207h.01%22%2F%3E%3C%2Fsvg%3E"); }
[data-cat="親子"], .chip[data-c="親子"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%202.5c3%200%205.5%202.9%205.5%206.5S15%2015.5%2012%2015.5%206.5%2012.6%206.5%209%209%202.5%2012%202.5Z%22%2F%3E%3Cpath%20d%3D%22m10.8%2015.5%201.2%201.6%201.2-1.6M12%2017.1c0%201.9-1.6%202.2-1.6%204.4%22%2F%3E%3C%2Fsvg%3E"); }
[data-cat="市集"], .chip[data-c="市集"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2020%2012%204l9%2016Z%22%2F%3E%3Cpath%20d%3D%22M12%204v16M9%2020l3-6%203%206%22%2F%3E%3C%2Fsvg%3E"); }
[data-cat="遊憩活動"], .chip[data-c="遊憩活動"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2019c0-8%205-13%2014-14-1%209-6%2014-14%2014Z%22%2F%3E%3Cpath%20d%3D%22M5%2019%2013%2011%22%2F%3E%3C%2Fsvg%3E"); }
[data-cat="競賽"], .chip[data-c="競賽"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%204h8v5a4%204%200%200%201-8%200Z%22%2F%3E%3Cpath%20d%3D%22M8%206H5a3%203%200%200%200%203%204M16%206h3a3%203%200%200%201-3%204M12%2013v4M8.5%2020h7M10%2017h4v3h-4z%22%2F%3E%3C%2Fsvg%3E"); }
[data-cat="徵選"], .chip[data-c="徵選"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2010v4h3l8%204V6L7%2010Z%22%2F%3E%3Cpath%20d%3D%22M18.5%209a4%204%200%200%201%200%206M7%2014l1.5%205h2.5l-1.3-4.3%22%2F%3E%3C%2Fsvg%3E"); }
[data-cat="年度活動"], .chip[data-c="年度活動"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%225%22%20width%3D%2216%22%20height%3D%2215%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M4%2010h16M8%203v4M16%203v4%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2215%22%20r%3D%221.4%22%2F%3E%3C%2Fsvg%3E"); }
[data-cat="其他"], .chip[data-c="其他"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203v4M12%2017v4M3%2012h4M17%2012h4M6%206l2.5%202.5M15.5%2015.5%2018%2018M6%2018l2.5-2.5M15.5%208.5%2018%206%22%2F%3E%3C%2Fsvg%3E"); }
[data-cat="文化資產"], .chip[data-c="文化資產"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2010%2012%204l9%206%22%2F%3E%3Cpath%20d%3D%22M5%209.5V20h14V9.5M10%2020v-5h4v5%22%2F%3E%3C%2Fsvg%3E"); }
[data-cat="文化景點"], .chip[data-c="文化景點"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2010%2012%204l9%206%22%2F%3E%3Cpath%20d%3D%22M5%209.5V20h14V9.5M10%2020v-5h4v5%22%2F%3E%3C%2Fsvg%3E"); }
