/* 语言切换器 */
.lang-switch {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(128, 128, 128, 0.35);
    border-radius: 8px;
    overflow: hidden;
    margin-right: 14px;
    font-size: 13px;
    line-height: 1;
    flex: 0 0 auto;
}

.lang-switch a {
    padding: 5px 9px;
    color: inherit;
    text-decoration: none;
    opacity: 0.65;
    white-space: nowrap;
    transition: background 0.15s, opacity 0.15s;
}

.lang-switch a:hover {
    opacity: 1;
    background: rgba(128, 128, 128, 0.12);
}

.lang-switch a.active {
    opacity: 1;
    font-weight: 600;
    background: rgba(128, 128, 128, 0.20);
}

/* 移动端：header-actions 已横向排列，切换器自然排布 */
@media (max-width: 768px) {
    .lang-switch {
        margin-right: 8px;
        font-size: 12px;
    }
    .lang-switch a {
        padding: 4px 7px;
    }
}
