.ash-lang {
  position: fixed;
  z-index: 2147483000;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ash-lang--bottom-right {
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
}

.ash-lang__select {
  min-width: 108px;
  max-width: min(44vw, 180px);
  min-height: 36px;
  padding: 6px 30px 6px 10px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: #111827;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.18);
  font-size: 14px;
  line-height: 1.2;
}

.ash-lang__select:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

@media (prefers-color-scheme: dark) {
  .ash-lang__select {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(17, 24, 39, 0.94);
    color: #f9fafb;
  }
}
