/*
 * LINE Seed (SIL OFL, see ../fonts/line-seed/OFL.txt), self-hosted. Shared by the public site and the admin.
 * One family per script, three weight files each, matched by weight range so 500/600 use Bold and 800/900 use ExtraBold.
 * Browsers download a face only when the page has glyphs that need it: the KR/JP files load only on ko/ja pages.
 * Chinese never uses LINE Seed JP (Japanese Han shapes); it falls back to the system Chinese fonts.
 */
@font-face{font-family:'LINE Seed Sans TH';src:url('../fonts/line-seed/line-seed-th-400.woff2') format('woff2');font-weight:100 549;font-style:normal;font-display:swap}
@font-face{font-family:'LINE Seed Sans TH';src:url('../fonts/line-seed/line-seed-th-700.woff2') format('woff2');font-weight:550 749;font-style:normal;font-display:swap}
@font-face{font-family:'LINE Seed Sans TH';src:url('../fonts/line-seed/line-seed-th-800.woff2') format('woff2');font-weight:750 900;font-style:normal;font-display:swap}

/* KR ships Rg and Bd only: Bd covers 550–900. */
@font-face{font-family:'LINE Seed KR';src:url('../fonts/line-seed/line-seed-kr-400.woff2') format('woff2');font-weight:100 549;font-style:normal;font-display:swap}
@font-face{font-family:'LINE Seed KR';src:url('../fonts/line-seed/line-seed-kr-700.woff2') format('woff2');font-weight:550 900;font-style:normal;font-display:swap}

@font-face{font-family:'LINE Seed JP';src:url('../fonts/line-seed/line-seed-jp-400.woff2') format('woff2');font-weight:100 549;font-style:normal;font-display:swap}
@font-face{font-family:'LINE Seed JP';src:url('../fonts/line-seed/line-seed-jp-700.woff2') format('woff2');font-weight:550 749;font-style:normal;font-display:swap}
@font-face{font-family:'LINE Seed JP';src:url('../fonts/line-seed/line-seed-jp-800.woff2') format('woff2');font-weight:750 900;font-style:normal;font-display:swap}

:root{--wlt-font:'LINE Seed Sans TH',system-ui,sans-serif}
:lang(ko){--wlt-font:'LINE Seed KR','LINE Seed Sans TH',sans-serif}
:lang(ja){--wlt-font:'LINE Seed JP','LINE Seed Sans TH',sans-serif}
/* LINE Seed Sans TH has no Han glyphs, so it only draws Latin letters and digits here. */
:lang(zh){--wlt-font:'LINE Seed Sans TH','PingFang SC','Hiragino Sans GB','Microsoft YaHei','Noto Sans SC',sans-serif}
/* The stack is resolved once on <html>: the 한국어 / 日本語 language pills on other pages keep the page font
   (and fall back to system glyphs), so they never pull in the large KR/JP files. */
