<style>
    /* 顶栏右侧：工具按钮不收缩；全局搜索容器 flex 见 theme.css */
    .fi-topbar-end {
        flex-wrap: nowrap;
        align-items: center;
        gap: 0.25rem;
        min-width: 0;
        /* flex:1 见 theme.css，此处不重复以免覆盖 */
    }

    .fi-topbar-end > :not(.fi-global-search-ctn) {
        flex-shrink: 0;
    }

    @media (max-width: 639px) {
        .fi-topbar-end {
            gap: 0.125rem;
        }

        .fi-topbar-end .fi-admin-locale-switch {
            margin-inline-end: 0.125rem;
        }
    }
</style>
