/* Hide locale-mismatched chrome (Header/Footer). The locale-detect
 * inline script sets <html lang> from the URL before paint; CSS keys
 * off that to keep one set of locale-keyed wrappers visible.
 * Both render server-side so SSR markup is stable; CSS hides the
 * wrong one — no hydration mismatch and no flicker. */
html[lang="en"] [data-locale-only="zh-hans"] { display: none !important; }
html[lang="zh-hans"] [data-locale-only="en"] { display: none !important; }
