.language-control { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; color: #bcbcbc; border-radius: 10px; cursor: pointer; }
.language-control svg { flex: 0 0 22px; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; pointer-events: none; }
.language-control select { position: absolute; z-index: 1; inset: 0; width: 100%; max-width: none; min-width: 0; min-height: 44px; height: 100%; margin: 0; padding: 0; border: 0; opacity: 0; color-scheme: dark; cursor: pointer; font: 16px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.language-control select option,
.language-control select option:checked { background: #2a2a2a; color: #f5f5f7; }
.language-control:has(select:focus-visible) { background: rgba(255,255,255,.055); outline: 2px solid var(--theme-focus, #fff); outline-offset: 2px; }
.language-control select:focus { outline: none; }
.reading-ui .sidebar-foot .language-control { width: 44px; margin-bottom: 0; padding: 0; justify-content: center; }
.reading-ui .sidebar-foot .language-control::after { display: none; }
.reading-ui .workspace.sidebar-collapsed .language-control { width: 44px; justify-content: center; }
.reading-ui .workspace.sidebar-collapsed .language-control select { position: absolute; inset: 0; width: 100%; opacity: 0; }
.reading-ui .mobile-account-dialog .language-control { width: 44px; padding: 0; border: 0; }
@media (max-width: 1080px) { .language-control select { font-size: 16px; } }

html[data-theme="light"] .language-control { color: var(--product-secondary); }
html[data-theme="light"] .language-control select { color-scheme: light; }
html[data-theme="light"] .language-control select option,
html[data-theme="light"] .language-control select option:checked { background: var(--product-elevated); color: var(--product-text); }
html[data-theme="light"] .language-control:has(select:focus-visible) { background: var(--product-hover); outline: 2px solid var(--theme-focus); outline-offset: 2px; }
html[data-theme="light"] .reading-ui .mobile-account-dialog .language-control { border-color: var(--product-line); }
