/* Phoneme Fonts */
/* Primary IPA webfont (Charis SIL) */
@font-face {
  font-family: 'PhonemeFont';
  src: url('/assets/fonts/CharisSIL.woff2') format('woff2'),
       url('/assets/fonts/CharisSIL.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400;
  src: url('https://fonts.gstatic.com/s/notosans/v30/o-0IIpQlx3QUlC5A4PNr5TRA.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Noto Sans Phonetic Extensions */
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400;
  src: url('https://fonts.gstatic.com/s/notosans/v30/o-0IIpQlx3QUlC5A4PNr6zRAW_0.woff2') format('woff2');
  unicode-range: U+1D00-1D7F, U+1D80-1DBF, U+1DC0-1DFF;
}

/* Noto Sans IPA Extensions */
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400;
  src: url('https://fonts.gstatic.com/s/notosans/v30/o-0IIpQlx3QUlC5A4PNr5DRA.woff2') format('woff2');
  unicode-range: U+0250-02AF, U+1AB0-1AFF, U+1DC0-1DFF, U+1EFA-1EFF, U+2C60-2C7F, U+A720-A7FF;
}

/* Thêm font hỗ trợ cho các ký tự đặc biệt */
@font-face {
  font-family: 'Noto Sans Symbols';
  font-style: normal;
  font-weight: 400;
  src: url('https://fonts.gstatic.com/s/notosanssymbols/v40/rP2up3q65FkAtHfwd-eIS2brbDN6gX5lB-Zf.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F, U+2190-21FF, U+2300-23FF;
}

/* Webfont family for IPA display across platforms */
/* Map PhonemeIPA to Noto Sans subsets (latin + phonetic + IPA) and Symbols */
@font-face {
  font-family: 'PhonemeIPA';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/notosans/v30/o-0IIpQlx3QUlC5A4PNr5TRA.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'PhonemeIPA';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/notosans/v30/o-0IIpQlx3QUlC5A4PNr6zRAW_0.woff2') format('woff2');
  unicode-range: U+1D00-1D7F, U+1D80-1DBF, U+1DC0-1DFF;
}

@font-face {
  font-family: 'PhonemeIPA';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/notosans/v30/o-0IIpQlx3QUlC5A4PNr5DRA.woff2') format('woff2');
  unicode-range: U+0250-02AF, U+1AB0-1AFF, U+1DC0-1DFF, U+1EFA-1EFF, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'PhonemeIPA';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/notosanssymbols/v40/rP2up3q65FkAtHfwd-eIS2brbDN6gX5lB-Zf.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F, U+2190-21FF, U+2300-23FF;
}