/* Language controls only; page layout and content remain in style.css. */
.nav-container { position: relative; gap: 18px; }
.nav-container > .nav { margin-left: auto; }
.language-switch {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 5px;
    white-space: nowrap;
    font-size: 14px;
    line-height: 1.4;
}
.language-switch a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 5px 7px;
    border-radius: 6px;
    color: var(--nav-soft);
    text-decoration: none;
}
.language-switch span { color: var(--nav-soft); }
.language-switch a[aria-current="true"] {
    color: white;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.12);
}
.language-switch a:hover { color: white; background: rgba(255, 255, 255, 0.12); }
.language-switch a:focus-visible { outline: 2px solid white; outline-offset: 2px; }
html:lang(zh-CN) body {
    font-family: Georgia, "Times New Roman", "Songti SC", "Noto Serif CJK SC", SimSun, serif;
}
html:lang(zh-CN) :is(.eyebrow, .project-number, .result-label, .work-index, .cv-label) {
    letter-spacing: normal;
}
@media (max-width: 920px) {
    .nav-container { gap: 14px; }
    .nav-container > .nav { margin-left: 0; }
    .nav-container > .site-title { max-width: calc(100% - 102px); }
    .language-switch { position: absolute; top: 12px; right: 0; }
}
@media (max-width: 380px) {
    .nav-container > .site-title { font-size: 22px; max-width: calc(100% - 96px); }
    .language-switch { gap: 2px; }
    .language-switch a { padding-inline: 5px; }
}
