.language-picker { display: inline-flex; align-items: center; gap: 6px; color: var(--fg, #f4f4f4); font-family: sans-serif; }
#home-header .language-picker { display: flex; width: max-content; margin: 16px auto 0; }
.language-picker select { min-height: 44px; max-width: 150px; padding: 6px 8px; border: 1px solid var(--muted, #94a0c8); border-radius: 0; background: var(--panel, #1a1c2c); color: inherit; font: inherit; font-size: 14px; cursor: pointer; }
.language-picker select:focus-visible { outline: 2px solid var(--gold, #ffcd75); outline-offset: 3px; }
html[lang="th"] body { font-family: 'Thonburi', 'Leelawadee UI', 'Noto Sans Thai', sans-serif; -webkit-font-smoothing: antialiased; }
html[lang="th"] #home-header h1 { letter-spacing: 0; line-height: 1.5; }
html[lang="th"] .pill, html[lang="th"] button { line-height: 1.5; letter-spacing: 0; }
html:not([lang="zh-CN"]) #topbar h1 { overflow-wrap: anywhere; }
html:not([lang="zh-CN"]) #v-sub { line-height: 1.5; }
html:not([lang="zh-CN"]) .top-actions { flex-wrap: wrap; }
html:not([lang="zh-CN"]) #map-hint { line-height: 1.6; letter-spacing: 0; }
html:not([lang="zh-CN"]) #panel h2 { line-height: 1.5; }
html:not([lang="zh-CN"]) .sc-stats label { white-space: normal; line-height: 1.4; }
@media (max-width: 780px) {
  .top-actions .language-picker { flex: 0 0 auto; }
  html:not([lang="zh-CN"]) .top-actions { flex-wrap: nowrap; }
  html:not([lang="zh-CN"]) #home-header h1 { font-size: clamp(1.1rem, 5vw, 1.6rem); }
  html:not([lang="zh-CN"]) #map-head h2 { font-size: .8rem; }
  html:not([lang="zh-CN"]) .list-title h2 { font-size: .9rem; line-height: 1.5; }
  html:not([lang="zh-CN"]) .home-data-note summary { flex-wrap: wrap; }
}
@media (min-width: 781px) {
  #topbar { width: calc(100vw - 32px); max-width: 1320px; gap: 12px; }
  #topbar .topbar-info { flex: 1 1 38%; }
  #topbar .title { min-width: 0; }
  #topbar h1 { white-space: normal; line-height: 1.35; }
  #topbar .top-actions { flex: 1 1 62%; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
  #topbar .top-actions .pill { min-height: 44px; }
  #panel { top: var(--toolbar-bottom, 130px); max-height: calc(100vh - var(--toolbar-bottom, 130px) - 16px); }
  .venue-data-note { top: var(--toolbar-bottom, 130px); }
}
