/* Generated by scripts/build-shared-fonts.mjs. Source: shared/assets/fonts. */
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:200 800;font-display:swap;src:url('/fonts/plus_jakarta.89b3fb38aa0d275d.ttf') format('truetype')}
@font-face{font-family:'Sarabun';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/sarabun.226d4f368fbc0457.ttf') format('truetype')}
@font-face{font-family:'Sarabun';font-style:normal;font-weight:700;font-display:swap;src:url('/fonts/sarabun_bold.d38308ca27d067b9.ttf') format('truetype')}
@font-face{font-family:'Noto Sans';font-style:normal;font-weight:100 900;font-display:swap;src:url('/fonts/noto_sans.bfb7bb691513f12e.ttf') format('truetype')}
/* Shared web typography: Thai marks must fit even in a non-Thai interface.
   Keep horizontal truncation on compact labels; give their line boxes enough
   vertical room instead of disabling clipping on scroll containers. */
.th,[lang|="th"]{line-height:1.7;letter-spacing:normal}
:is(html[data-lang="th"],html[lang|="th"],.k-onb[lang|="th"],.k-save[lang|="th"]) :is(h1,h2,h3,h4,button,input,select,textarea){line-height:1.7;letter-spacing:normal}
:is(.th,[lang|="th"]) :is(.ptitle,.ctog .cname,.ltxt span,.outline li button span:last-child){line-height:1.7}
:is(.qth,.qopt .th,.word-definition-token[lang|="th"]){line-height:1.7}
.face .big.th,.qth.th,.journey-stage .qth.th,body .exth,body .reading .passage,body .word .th{line-height:1.7}
.k-onb[lang|="th"] :is(.ob-choice b,.ob-choice small,.ob-lang .nm,.ob-lang small,.ob-group-toggle,.ob-chips button,.ob-daily button b,.ob-daily button span,.ob-link,.ob-btn,.ob-in){line-height:1.7}
.k-onb[lang|="th"] h1{line-height:1.7}
.k-onb[lang|="th"] .ob-bubble{height:80px;min-height:80px;line-height:1.7;padding-block:10px}
.k-onb[lang|="th"] .ob-sky{--ob-art:min(148px,max(24px,calc((var(--ob-viewport-height)*.4 - 120px)*.825)))}
/* The open layer can be Thai while the surrounding interface is English. */
.k-onb .ob-group-options[lang|="th"] :is(.ob-lang,.nm){line-height:1.7}
@media(max-height:740px){
 .k-onb[lang|="th"] .ob-knowledge .ob-choice{gap:8px;padding-block:10px}
 .k-onb[lang|="th"] .ob-knowledge .ic{width:44px;height:44px}
}

