/* Keep Myanmar/Shan clusters in a single font, including user content in any UI language. */
@font-face{font-family:'SoungSeur Shan';src:url('../fonts/panglong.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap;unicode-range:U+1000-109F,U+A9E0-A9FF,U+AA60-AA7F}
@font-face{font-family:'SoungSeur Panglong';src:url('../fonts/panglong.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
body{font-family:Inter,'Noto Sans Thai','SoungSeur Panglong',system-ui,sans-serif}
html:lang(shn) body,html:lang(my) body{font-family:Inter,'SoungSeur Panglong','Noto Sans Thai',system-ui,sans-serif;line-height:1.8}
.language-control{display:inline-flex;align-items:center;position:relative;flex:0 0 auto;gap:5px;color:var(--text,#f6f4ff)}
.language-control select{color:inherit;background:var(--panel,#171926);border:1px solid var(--border,#ffffff30);border-radius:11px;font:inherit;font-size:12px;min-height:40px;padding:6px 8px;max-width:124px;cursor:pointer}
.language-control select option{background:#171926;color:#f6f4ff}
.language-control select:focus-visible{outline:2px solid var(--accent2,#41d6c3);outline-offset:3px}
.locale-standalone{display:flex;justify-content:flex-end;margin-bottom:18px}
.locale-content{overflow-wrap:anywhere}
html:lang(shn) .filter-chip,html:lang(my) .filter-chip{line-height:1.8;height:auto;min-height:42px}
html:lang(shn) .mobile-bottom-nav small,html:lang(my) .mobile-bottom-nav small{font-size:11px;line-height:1.8;white-space:normal}
html:lang(shn) .side-nav .nav-link,html:lang(my) .side-nav .nav-link{height:auto;min-height:46px}
@media(max-width:600px){.topbar-actions{gap:6px}.topbar-actions .language-control select{font-size:11px;max-width:86px;padding:6px 3px;min-height:40px}.topbar{gap:8px}.topbar-actions{min-width:0}.topbar-divider{display:none}.language-control{max-width:100%}.signup-button{white-space:normal;line-height:1.5}.login-button{white-space:normal}}
@media(max-width:359px){.topbar-actions .language-control select{max-width:70px}.topbar-actions .notification-button{width:32px;min-width:32px}.topbar-actions .mobile-search{width:32px;min-width:32px}}

body,button,input,textarea,select{font-family:'SoungSeur Shan',Inter,'Noto Sans Thai','SoungSeur Panglong',system-ui,sans-serif}
html:lang(shn) body,html:lang(my) body{font-family:'SoungSeur Shan',Inter,'SoungSeur Panglong','Noto Sans Thai',system-ui,sans-serif}
/* Spacing must not separate base letters from stacked vowels and tone marks. */
html:lang(shn) body *,html:lang(my) body *,[data-myanmar-text],[data-myanmar-text] *{letter-spacing:normal!important;word-spacing:normal!important;font-feature-settings:normal;font-kerning:normal}
html:lang(shn) :is(h1,h2,h3,h4,h5,h6),html:lang(my) :is(h1,h2,h3,h4,h5,h6),[data-myanmar-text]:is(h1,h2,h3,h4,h5,h6){line-height:1.65;overflow-wrap:break-word;word-break:normal}
