/* ฟอนต์ของทั้งระบบ = K2D อย่างเดียว (ผู้ดูแลระบบสั่ง) ============================================================
   ไฟล์นี้ต้องโหลด "หลังสุด" และมาพร้อม public/css/vendor/gfonts/k2d.css (ตัวฟอนต์ self-hosted)
   - บังคับทุกองค์ประกอบด้วย !important + ความจำเพาะสูง เพื่อทับ font-family เดิมที่กระจายอยู่ในธีม/วิว (Inter, Outfit, Sarabun, Tahoma, system, monospace)
   - ยกเว้น "ไอคอนฟอนต์" (Font Awesome / Bootstrap Icons) — ไม่งั้นไอคอนกลายเป็นตัวอักษร
   - ยกเว้นภาษาพม่า (html[lang=my]) ที่ K2D ไม่มีตัวอักษร ใช้ Noto Sans Myanmar จาก i18n.css ต่อ
   - ::before/::after ไม่ถูกแตะ (ไอคอนที่เป็น pseudo-element ใช้ฟอนต์ของตัวเอง) */
:root {
  --bs-font-sans-serif: 'K2D', sans-serif;
  --bs-body-font-family: 'K2D', sans-serif;
  --bs-font-monospace: 'K2D', sans-serif;
  --font-body: 'K2D', sans-serif;
  --font-heading: 'K2D', sans-serif;
}
html:not([lang="my"]) body,
html:not([lang="my"]) body *:not(.fa):not(.fas):not(.far):not(.fab):not(.fa-solid):not(.fa-regular):not(.fa-brands):not(.fa-classic):not(.fa-sharp):not(.fa-duotone):not(.bi):not([class^="bi-"]):not([class*=" bi-"]):not(.material-icons):not(.material-symbols-outlined):not([data-i18n-switch="my"]) {
  font-family: 'K2D', sans-serif !important;
}
/* ---------- ปรับความสวยอ่านง่าย (2026-10-14) ----------
   - น้ำหนักตัวอักษรจริงมีแค่ 400 / 500 / 600 (ดู vendor/gfonts/k2d.css) ค่าที่ขอหนักกว่านี้ (700/800/900/bold) จะใช้ 600
   - ฐานขนาด 15px (K2D ตัวใหญ่/กว้างกว่าฟอนต์ทั่วไป 16px ดูบวม) · ผู้ใช้ปรับ เล็ก/ใหญ่ ที่ Theme Customizer ได้เหมือนเดิม
   - ห้ามเบราว์เซอร์สร้างตัวหนา/ตัวเอียงปลอม (K2D ไม่มีไฟล์ตัวเอียง ตัวเอียงปลอมทำให้ตัวอักษรเบี้ยว)
   - Thai: ตัดคำตามพจนานุกรมของเบราว์เซอร์ (lang=th) ไม่หักกลางคำ, line-height ให้สระ/วรรณยุกต์ไม่ชนบรรทัด */
html { font-size: 93.75%; }
html:not([lang="my"]) body {
  font-synthesis: none;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
}
html:not([lang="my"]) h1, html:not([lang="my"]) h2, html:not([lang="my"]) h3,
html:not([lang="my"]) h4, html:not([lang="my"]) h5, html:not([lang="my"]) h6 { letter-spacing: 0; line-height: 1.3; }
html:not([lang="my"]) b, html:not([lang="my"]) strong, html:not([lang="my"]) .fw-bold, html:not([lang="my"]) .fw-bolder { font-weight: 600; }
html:not([lang="my"]) em, html:not([lang="my"]) i:not([class*="bi"]):not([class*="fa"]) { font-style: normal; }