/* 175C-L: compact, extensible locale selector. */
.lang-switch { position: relative; display: block !important; width: max-content; min-width: 138px; height: 44px; margin: 0; padding: 0; border: 1px solid #cbbcf2; border-radius: 999px; background: #fff; color: #4a386d; z-index: 90; }
.lang-switch > summary { list-style: none; display: flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 999px; cursor: pointer; font-size: 15px; white-space: nowrap; }
.lang-switch > summary::-webkit-details-marker { display: none; }
.lang-globe { font-size: 20px; line-height: 1; color: #7541e8; }
.lang-chevron { margin-left: 2px; color: #6c5d88; font-size: 15px; transition: transform .15s ease; }
.lang-switch[open] .lang-chevron { transform: rotate(180deg); }
.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; display: grid; gap: 3px; min-width: 154px; padding: 7px; border: 1px solid #e0d6f5; border-radius: 14px; background: #fff; box-shadow: 0 14px 30px rgba(62, 35, 123, .18); }
.lang-opt { display: flex !important; align-items: center; justify-content: space-between; width: 100%; min-height: 36px; padding: 0 10px !important; border: 0 !important; border-radius: 9px !important; background: transparent !important; color: #33234e !important; font: 500 15px/1 var(--font-ui, Inter, sans-serif) !important; cursor: pointer; }
.lang-opt:hover, .lang-opt[aria-selected="true"] { background: #f0e8ff !important; color: #6334cf !important; }
.lang-check { min-width: 16px; color: #7541e8; font-weight: 800; text-align: right; }
@media (max-width: 899px) { .lang-switch { min-width: 120px; } .lang-switch > summary { padding: 0 10px; font-size: 13px; } }

/* J9: the shared header shows the language name once on every page (was only in mobile-h1.css). */
.lang-switch .lang-native-name + .lang-code { display: none; }
