/* ==========================================================================
   Noto Sans TC — 子集化自架字型
   ==========================================================================
   為什麼要子集化：
     未子集化的完整 CJK 字型每個字重約 2.8MB，四個字重共 11.4MB。
     首頁因此需下載 11MB 才會完成渲染，實測 FCP/LCP 高達 3.9 秒，
     Core Web Vitals 直接不合格（Google 建議 LCP < 2.5 秒）。

     本站全站可見文字僅 898 個相異字元（其中 764 個中文字），
     以 pyftsubset 裁切後每個字重降到約 145KB，三個字重共 441KB，
     為原本的 3.8%，且畫面上不會缺字。

   字重策略：
     僅保留 400 / 500 / 700 三個字重。
     原 CSS 使用的 600 已統一改為 700（視覺差異極小），
     900 僅用於 Font Awesome 圖示，與本字型無關。

   維護提醒：
     若日後新增頁面或文案，請重新產生字元集並重新子集化，
     否則新出現的字會退回系統字型顯示。
     （產生指令見 /tmp/gen_m3u8_font.py）
   ========================================================================== */

@font-face {
    font-family: "Noto Sans TC";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/fonts-subset/NotoSansTC-Regular.woff2") format("woff2");
}

@font-face {
    font-family: "Noto Sans TC";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("/fonts-subset/NotoSansTC-Medium.woff2") format("woff2");
}

@font-face {
    font-family: "Noto Sans TC";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("/fonts-subset/NotoSansTC-Bold.woff2") format("woff2");
}

@font-face {
    font-family: "Noto Sans TC";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/fonts-subset/NotoSansTC-Bold.woff2") format("woff2");
}
