/*
Plugin Name: Mud Auto Multilang
Plugin URI: https://wordpress.org/plugins/Mud-Auto-Multilang
Description: 自动根据用户IP或手动切换，实现多国语言前端翻译，兼容所有WordPress版本。重点说明：如果国站在中国大陆，需要在开启科学上网之后，这个自动翻译功能才会生效。 |  Automatically provides multilingual front-end translation based on the user's IP or manual switching, compatible with all WordPress versions. Important note: If your website is hosted in mainland China, this automatic translation feature will only work after enabling a VPN or other means of accessing the global internet.
Version: 1.0
Author: 泥人传说
Author URI: https://nirenchuanshuo.com
Text Domain: mud auto multilang
*/
#wpaml-switcher {
    height: 50px;
    position: fixed;
    top: 2px;
    left: 380px;
    bottom: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    padding: 8px 12px;
    z-index: 9999;
}
#wpaml-switcher span { margin-right: 8px; }
.wpaml-btn {
    background: #f5f5f5;
    border: none;
    margin: 0 2px;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}
.wpaml-btn:hover { background: #0073aa; color: #fff; }