.hm-language-switcher{position:fixed;z-index:2147483000;top:max(14px,env(safe-area-inset-top));right:max(14px,env(safe-area-inset-right));direction:ltr;font-family:Inter,Arial,sans-serif;color:#fff}
.hm-language-switcher *{box-sizing:border-box}
.hm-language-switcher__trigger{display:flex;align-items:center;gap:8px;min-width:82px;height:46px;padding:0 14px;border:1px solid rgba(255,255,255,.3);border-radius:999px;background:rgba(13,15,23,.86);box-shadow:0 8px 30px rgba(0,0,0,.25);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);color:#fff;cursor:pointer;font:800 13px/1 Arial,sans-serif;letter-spacing:.08em;transition:transform .18s ease,background .18s ease,border-color .18s ease}
.hm-language-switcher__trigger:hover{transform:translateY(-1px);background:rgba(23,27,39,.95);border-color:rgba(255,255,255,.52)}
.hm-language-switcher__trigger:focus-visible,.hm-language-switcher__option:focus-visible,.hm-language-switcher__close:focus-visible{outline:3px solid #8fd8ff;outline-offset:3px}
.hm-language-switcher__flag{display:block;width:26px;height:20px;flex:0 0 26px;object-fit:cover;border-radius:4px;box-shadow:0 0 0 1px rgba(255,255,255,.22),0 2px 5px rgba(0,0,0,.24)}
.hm-language-switcher__chevron{width:8px;height:8px;margin-left:auto;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);opacity:.72}
.hm-language-switcher__panel{position:absolute;top:56px;right:0;width:min(356px,calc(100vw - 28px));max-height:min(620px,calc(100vh - 86px));overflow:auto;padding:16px;border:1px solid rgba(255,255,255,.18);border-radius:22px;background:rgba(13,15,23,.97);box-shadow:0 24px 70px rgba(0,0,0,.38);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
.hm-language-switcher__panel[hidden]{display:none}
.hm-language-switcher__header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 12px;padding:0 2px 0 6px}
.hm-language-switcher__title{margin:0;color:#fff;font:800 16px/1.3 Arial,sans-serif;letter-spacing:-.01em}
.hm-language-switcher__close{display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:50%;background:rgba(255,255,255,.1);color:#fff;cursor:pointer;font:24px/1 Arial,sans-serif}
.hm-language-switcher__grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.hm-language-switcher__option{display:flex;align-items:center;gap:10px;min-height:48px;padding:8px 11px;border:1px solid transparent;border-radius:13px;background:rgba(255,255,255,.055);color:#fff;cursor:pointer;font:600 13px/1.25 Arial,sans-serif;text-align:left;transition:background .15s ease,border-color .15s ease}
.hm-language-switcher__option:hover{background:rgba(255,255,255,.11)}
.hm-language-switcher__option[aria-current=true]{border-color:#8fd8ff;background:rgba(77,177,231,.18)}
.hm-language-switcher__option-flag{display:block;width:28px;height:21px;flex:0 0 28px;object-fit:cover;border-radius:4px;box-shadow:0 0 0 1px rgba(255,255,255,.18),0 2px 5px rgba(0,0,0,.22)}
.hm-language-switcher__busy{position:absolute;inset:auto 12px -7px 12px;height:3px;overflow:hidden;border-radius:999px;background:transparent}
.hm-language-switcher[data-busy=true] .hm-language-switcher__busy:before{content:"";display:block;width:38%;height:100%;border-radius:inherit;background:#8fd8ff;animation:hm-i18n-busy 1s ease-in-out infinite alternate}
.hm-i18n-translated-block{white-space:pre-line;text-align:start}
html:lang(zh-CN) body,html:lang(zh-CN) button,html:lang(zh-CN) a{font-family:"Microsoft YaHei","PingFang SC","Noto Sans CJK SC",sans-serif!important}
html:lang(ko) body,html:lang(ko) button,html:lang(ko) a{font-family:"Malgun Gothic","Apple SD Gothic Neo","Noto Sans KR",sans-serif!important}
html:lang(ja) body,html:lang(ja) button,html:lang(ja) a{font-family:"Yu Gothic","Hiragino Kaku Gothic ProN","Noto Sans JP",sans-serif!important}
html:lang(ar) body,html:lang(ar) button,html:lang(ar) a{font-family:"Segoe UI","Noto Sans Arabic",Tahoma,Arial,sans-serif!important;line-height:1.55}
html:lang(hi) body,html:lang(hi) button,html:lang(hi) a{font-family:"Nirmala UI","Noto Sans Devanagari",Mangal,sans-serif!important;line-height:1.5}
html:lang(th) body,html:lang(th) button,html:lang(th) a{font-family:"Leelawadee UI","Noto Sans Thai",Tahoma,Arial,sans-serif!important;line-height:1.55}
@keyframes hm-i18n-busy{from{transform:translateX(-10%)}to{transform:translateX(180%)}}
@media(max-width:640px){.hm-language-switcher{top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right))}.hm-language-switcher__trigger{min-width:72px;height:42px;padding:0 11px}.hm-language-switcher__panel{top:50px;padding:13px;border-radius:18px}.hm-language-switcher__grid{grid-template-columns:1fr}.hm-language-switcher__option{min-height:44px}}
@media(prefers-reduced-motion:reduce){.hm-language-switcher__trigger,.hm-language-switcher__option{transition:none}.hm-language-switcher[data-busy=true] .hm-language-switcher__busy:before{animation:none;width:100%}}
