.language-select {
  width: auto;
  max-width: 190px;
  min-height: 34px;
  margin: 0;
  padding: 6px 28px 6px 9px;
  border: 2px solid currentColor;
  border-radius: 5px;
  outline: none;
  background: #0e262d;
  color: #f8f1df;
  font: 700 .72rem/1.2 "Courier New", Courier, monospace;
  letter-spacing: .02em;
  cursor: pointer;
}

.language-select:focus-visible {
  border-color: #f7c948;
  box-shadow: 0 0 0 2px #071a1f, 0 0 0 4px #f7c948;
}

.language-select option {
  background: #0e262d;
  color: #f8f1df;
}

[dir="rtl"] .language-select {
  padding: 6px 9px 6px 28px;
}

[dir="rtl"] .mode-description {
  text-align: start !important;
}

@media (max-width: 560px) {
  .topbar {
    height: auto;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 10px;
  }

  .topbar-meta {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .language-select {
    display: block;
    order: 99;
    width: 100%;
    max-width: none;
    flex: 1 0 100%;
  }
}
