/* Shared language fonts (i18n spec 4.6). Self-hosted; preconnect is never used.
   IBM Plex Serif carries the German card-overlay display text. */
@font-face {
  font-family: 'IBM Plex Serif';
  src: url('/shared/lang/fonts/ibm-plex-serif-700-latin.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F;
}
@font-face {
  font-family: 'IBM Plex Serif';
  src: url('/shared/lang/fonts/ibm-plex-serif-700-latin-ext.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0100-024F, U+1E00-1EFF;
}
@font-face {
  font-family: 'IBM Plex Serif';
  src: url('/shared/lang/fonts/ibm-plex-serif-600italic-latin.woff2') format('woff2');
  font-weight: 600; font-style: italic; font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F;
}
@font-face {
  font-family: 'IBM Plex Serif';
  src: url('/shared/lang/fonts/ibm-plex-serif-600italic-latin-ext.woff2') format('woff2');
  font-weight: 600; font-style: italic; font-display: swap;
  unicode-range: U+0100-024F, U+1E00-1EFF;
}
/* Long-word languages (de, nl) get hyphenation as a safety valve (spec 4.6). */
:lang(de) body, :lang(nl) body { overflow-wrap: break-word; }
:lang(de) p, :lang(de) li, :lang(nl) p, :lang(nl) li { hyphens: auto; }
/* CJK stacks for later waves (spec 4.6); inert until those languages ship. */
:lang(ja) body { font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Noto Sans JP', sans-serif; }
:lang(ko) body { font-family: 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif; }
:lang(zh-hant) body { font-family: 'PingFang TC', 'Microsoft JhengHei', 'Noto Sans TC', sans-serif; }
