.gl-language-menu { position: relative; display: inline-block; color: #173b36; font: 600 14px/1.4 Arial, "Noto Sans SC", sans-serif; text-align: left; }
.gl-language-menu > summary { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 11px; min-height: 40px; border: 1px solid #dbe5df; border-radius: 999px; background: #fff; color: #173b36; box-shadow: 0 2px 5px #173b3605; cursor: pointer; list-style: none; white-space: nowrap; transition: background .18s ease, border-color .18s ease, box-shadow .18s ease; }
.gl-language-menu > summary::-webkit-details-marker { display: none; }
.gl-language-menu > summary:hover { background: #f7faf7; border-color: #a5bdb0; }
.gl-language-menu[open] > summary { background: #f4f8f4; border-color: #7d9f8c; box-shadow: 0 0 0 3px #477b6110; }
.gl-language-menu > summary:focus-visible, .gl-language-options a:focus-visible { outline: 3px solid #f1b552; outline-offset: 3px; }
.gl-language-globe { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; }
.gl-language-chevron { width: 12px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s ease; }
.gl-language-menu[open] .gl-language-chevron { transform: rotate(180deg); }
.gl-language-options { position: absolute; right: 0; top: calc(100% + 12px); width: 190px; padding: 8px; border: 1px solid #e0e8e2; border-radius: 16px; background: #fff; box-shadow: 0 16px 40px #133f3224, 0 3px 8px #133f3209; z-index: 10000; }
.gl-language-options::before { content: ""; position: absolute; top: -5px; right: 23px; width: 8px; height: 8px; border-left: 1px solid #e0e8e2; border-top: 1px solid #e0e8e2; background: #fff; transform: rotate(45deg); }
.gl-language-menu:not([open]) > .gl-language-options { display: none; }
.gl-language-menu[open] > .gl-language-options { animation: gl-language-reveal .16s ease-out; }
body .gl-language-options .gl-language-caption { margin: 0 !important; padding: 7px 10px 9px !important; color: #728279; font: 600 11px/1.4 Arial, "Noto Sans SC", sans-serif !important; letter-spacing: .4px; }
body .gl-language-options > a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px !important; color: #173b36 !important; font: 600 14px/1.4 Arial, "Noto Sans SC", sans-serif !important; text-decoration: none !important; border-radius: 10px; white-space: nowrap; transition: background .16s ease; }
.gl-language-options > a + a { margin-top: 3px; }
.gl-language-choice { display: flex; flex-direction: column; gap: 3px; }
.gl-language-description { color: #728279; font-size: 11px; font-weight: 400; line-height: 1.4; }
.gl-language-options > a:hover { background: #f5f8f4; }
.gl-language-options > a[aria-current="page"] { background: #edf5ee; }
.gl-language-check { display: flex; align-items: center; justify-content: center; width: 19px; height: 19px; flex: none; border-radius: 50%; background: #3b7658; color: #fff; visibility: hidden; }
.gl-language-options > a[aria-current="page"] .gl-language-check { visibility: visible; }
.gl-language-check svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@keyframes gl-language-reveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 560px) { .gl-zh .gl-language-globe { display: none; } }
#header-outer .gl-language-item { display: flex; align-items: center; align-self: center; margin-left: 8px; }
#header-outer .gl-language-item .gl-language-menu { line-height: normal; }
.gl-language-mobile { display: inline-flex; align-items: center; margin-right: 14px; }
.gl-language-mobile .gl-language-menu > summary { padding: 8px; min-height: 36px; }
@media (max-width: 1280px) {
  #header-outer .gl-language-item { display: none !important; }
  #header-outer[data-format="menu-left-aligned"] #top .right-aligned-menu-items { display: none !important; }
  #header-outer[data-format="menu-left-aligned"] #top .span_9 { margin-left: auto !important; }
}
@media (min-width: 1000px) and (max-width: 1400px) {
  #header-outer[data-format="menu-left-aligned"] #top nav > .sf-menu > li > a { padding-left: 10px; padding-right: 10px; }
  #header-outer[data-format="menu-left-aligned"] #top .right-aligned-menu-items > nav > .buttons > li > a { padding-left: 10px; padding-right: 10px; }
}
@media (prefers-reduced-motion: reduce) { .gl-language-menu * { transition: none !important; animation: none !important; } }
