.zx-lang-switch .zx-lang-native {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip-path: inset(50%) !important; border: 0 !important;
}
.zx-lang-switch .zx-lang-trigger {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 8px;
  min-height: 28px; padding: 2px 9px; border: 1px solid currentColor;
  border-radius: 6px; background: transparent; color: inherit; font: inherit;
  line-height: 1.5; cursor: pointer; white-space: nowrap;
}
.zx-lang-trigger::after {
  content: ""; width: 6px; height: 6px; margin: -3px 2px 0 4px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.zx-lang-trigger img, .zx-lang-option img {
  display: block; flex: 0 0 20px; width: 20px; height: 15px;
  object-fit: cover; border-radius: 1px; box-shadow: 0 0 0 1px rgba(0,0,0,.12);
}
.zx-lang-trigger span { flex: 1; text-align: start; }
.zx-lang-trigger:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.zx-lang-menu {
  position: fixed; z-index: 10000; overflow-y: auto; overscroll-behavior: contain;
  padding: 6px; border: 1px solid #e2e8f0; border-radius: 12px;
  background: #fff; color: #0f172a; font: 13.5px/1.5 "Inter", "Segoe UI", "Microsoft YaHei", sans-serif;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .16); color-scheme: light;
}
.zx-lang-menu[hidden] { display: none !important; }
.zx-lang-option {
  display: flex; align-items: center; gap: 10px; min-height: 36px;
  padding: 7px 10px; border-radius: 8px; cursor: pointer; direction: ltr;
  transition: background-color .14s ease, color .14s ease;
}
.zx-lang-option span { flex: 1; text-align: start; }
.zx-lang-option:hover, .zx-lang-option:focus { outline: none; background: #f1f5f9; }
.zx-lang-option[aria-selected="true"] { background: #eff6ff; color: #1d4ed8; font-weight: 600; }
.pt-topbar .zx-lang-trigger {
  min-height: 44px; border-color: var(--line, #dfe7e3); background: #fff;
  color: var(--ink-2, #44515e); font-size: 14px;
}
.pt-header--brand .pt-topbar .zx-lang-trigger {
  border-color: rgba(255,255,255,.4); background: transparent; color: #fff;
}
.admin-language-switch .zx-lang-trigger, .m-sidebar .zx-lang-trigger {
  width: 100%; min-height: 40px;
}
@media (max-width: 767px), (pointer: coarse) {
  .zx-lang-switch .zx-lang-trigger { min-height: 44px; font-size: 14px; }
  .zx-lang-option { min-height: 44px; }
}
