.serai-language-bar {
  position: sticky;
  top: 0;
  z-index: 10000;
  width: 100%;
  min-height: 42px;
  color: #dce8f2;
  background: #071a2d;
  border-bottom: 1px solid #29445d;
  box-shadow: 0 2px 8px rgba(7, 26, 45, 0.16);
  font: 700 12px/1 Inter, "Segoe UI", Arial, sans-serif;
}

.serai-language-bar__inner {
  width: min(1440px, 100%);
  min-height: 42px;
  margin: 0 auto;
  padding: 6px clamp(14px, 3vw, 34px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.serai-language-bar label { display: flex; align-items: center; gap: 10px; }
.serai-language-bar label > span { color: #a9bac9; font-size: 11px; font-weight: 600; }
.serai-language-bar select {
  min-width: 126px;
  height: 30px;
  padding: 0 28px 0 9px;
  color: #132a40;
  background-color: #fff;
  border: 1px solid #8ea2b3;
  border-radius: 3px;
  font: inherit;
  cursor: pointer;
}

.serai-language-bar select:focus-visible { outline: 2px solid #55afe5; outline-offset: 2px; }
.serai-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html:lang(zh-Hant), html:lang(zh-Hant) body,
html:lang(zh-Hans), html:lang(zh-Hans) body {
  font-family: "Microsoft JhengHei", "Microsoft YaHei", "PingFang TC", "PingFang SC", "Noto Sans CJK TC", sans-serif;
  letter-spacing: 0;
}

@media (max-width: 640px) {
  .serai-language-bar__inner { justify-content: space-between; }
  .serai-language-bar label { width: 100%; justify-content: space-between; }
  .serai-language-bar label > span { font-size: 10px; }
  .serai-language-bar select { min-width: 118px; }
}

@media print {
  .serai-language-bar { display: none !important; }
}
