/* Wiki-style translation icon; keep the platform's native language picker. */
.language-picker {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 0 0 48px;
  width: 48px;
  height: 44px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
}

.language-picker:hover {
  background: var(--surface-hover);
}

.language-picker:focus-within {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.language-picker-icon {
  pointer-events: none;
}

.top-actions .language-picker #language-select {
  position: absolute;
  inset: 0;
  width: 100%;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}

@media (forced-colors: active) {
  .language-picker {
    color: ButtonText;
    border-color: ButtonText;
  }

  .language-picker:focus-within {
    outline-color: Highlight;
  }
}

.wiki-vietnamese-letter {
  font-size: 14px;
  line-height: 1;
  pointer-events: none;
}
@media (max-width: 359px) {
  .language-picker {
    flex-basis: 44px;
    width: 44px;
  }
}
