.language-picker { position: relative; flex-shrink: 0; }
.language-picker > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 7px; }
.language-picker > summary::-webkit-details-marker { display: none; }
.language-picker > summary::after { display: none; }
.language-picker > ul { position: absolute; z-index: 100; top: calc(100% + 14px); right: 0; display: grid;
  min-width: 215px; padding: 8px; margin: 0; list-style: none; border: 1px solid #a47d3d; border-radius: 4px; background: #08151efc;
  box-shadow: 0 15px 35px #0009; }
.language-picker > ul a { display: block; padding: 10px 14px; color: #ddd4be; font-size: 13px; line-height: 1.6; }
.language-picker > ul a:hover, .language-picker > ul a[aria-current] { color: #ffdf95; background: #ae7b2b25; }
.language-picker a:focus-visible, .language-picker summary:focus-visible { outline: 2px solid #edc66e; }
.locale-data-note { font-size: 12px; line-height: 1.8; color: #c0b49a; padding-block: 10px; }
html[lang='zh-hant'] body { font-family: 'PingFang TC', 'Microsoft JhengHei', 'Noto Sans TC', sans-serif; }
html[lang='zh-hant'] :is(h1, h2, h3) { font-family: 'Songti TC', 'Noto Serif TC', 'PMingLiU', serif; }
html[lang='ko'] { word-break: keep-all; overflow-wrap: break-word; }
html:not([lang^='zh-']):not([lang='en']) .button { white-space: normal; }
html:not([lang^='zh-']):not([lang='en']) .nav-item { min-width: 0; }
html:not([lang^='zh-']):not([lang='en']) .hero h1 span { display: block; white-space: normal; }
html:not([lang^='zh-']):not([lang='en']) :is(h1, h2, h3, .button) { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 700px) {
  .language-picker > ul { left: 0; right: auto; }
}
