/* TH/EN language switcher (markup: ../../lang-switch.mjs langSwitch()), linked by every page that shows the switcher.
   Self-contained: every token has a literal fallback, because the pages that use this don't share a token set
   (the gallery has --brand-soft, reviews has --soft); a page sets --line / --lang-on on its own wrapper.
   The 7px padding is not decoration: it lifts each segment to ~27px tall, over the 24px WCAG 2.2 minimum tap target. */
.lang{display:inline-flex;align-items:center;gap:2px;background:#fff;border:1.5px solid var(--line,#F0E2EC);border-radius:999px;padding:2px;flex:0 0 auto}
.lang a{display:flex;align-items:center;padding:7px 8px;border-radius:999px;line-height:0;opacity:.38}
.lang a:hover{opacity:.7}
.lang a[aria-current]{opacity:1;background:var(--lang-on,#FCEAF2)}
.lang svg{display:block;border-radius:2px;box-shadow:0 0 0 .5px rgba(0,0,0,.15)}
