/* Native disclosure, using the existing nav dropdown colours and links. */
.language-switch > summary { display: inline-flex; align-items: center; gap: 6px; list-style: none; cursor: pointer; font-size: .9375rem; font-weight: 800; white-space: nowrap; }
.language-switch > summary::-webkit-details-marker { display: none; }
.language-switch > summary:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.nav-links .language-switch:not([open]) > .nav-dropdown { display: none; }
.nav-links .language-switch[open] > .nav-dropdown { display: block; width: 12rem; }
.language-switch a[aria-current] { text-decoration: underline; text-underline-offset: 4px; }
.mobile-menu .language-switch > summary { display: flex; justify-content: flex-start; min-height: 48px; padding: 12px 16px; }
/* Owner, 31 Oct: Avenir Next lacks some Vietnamese letters, so the opening header falls back mid-word. Use the system font there. */
html:lang(vi) :is(.living-hero, .toucan-opening-header, .piano-world) { --hero-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
/* Owner, 1 Nov: the switch shows SVG flags (flag-icons), the same on every device. */
.language-switch .language-flag { width: 21px; height: 16px; }
