#yra-pro-ml-language-ui {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 2147483000;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 1.35;
}


#yra-pro-ml-language-ui.yra-pro-ml-desktop-anchored {
  position: absolute;
  right: auto;
  bottom: auto;
}

#yra-pro-ml-language-ui[hidden] {
  display: none !important;
}

.yra-pro-ml-switcher-button {
  appearance: none;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 7px;
  background: #111;
  color: #fff;
  min-width: 90px;
  min-height: 42px;
  padding: 6px 10px;
  box-shadow: 0 4px 18px rgba(0,0,0,.28);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
}

.yra-pro-ml-switcher-button:hover,
.yra-pro-ml-switcher-button:focus-visible {
  border-color: #fff;
  outline: 2px solid rgba(255,255,255,.35);
  outline-offset: 2px;
}

.yra-pro-ml-switcher-title {
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.yra-pro-ml-switcher-current {
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.yra-pro-ml-language-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  width: 174px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 9px;
  background: rgba(12,12,12,.98);
  box-shadow: 0 8px 26px rgba(0,0,0,.38);
}

.yra-pro-ml-language-panel[hidden] {
  display: none !important;
}

.yra-pro-ml-language-option {
  appearance: none;
  width: 100%;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #fff;
  text-align: left;
  padding: 8px 10px;
  cursor: pointer;
  font: inherit;
}

.yra-pro-ml-language-option:hover,
.yra-pro-ml-language-option:focus-visible {
  background: rgba(255,255,255,.12);
  outline: none;
}

.yra-pro-ml-language-option[aria-current="true"] {
  background: rgba(255,255,255,.18);
  font-weight: 800;
}

@media (max-width: 480px) {
  #yra-pro-ml-language-ui {
    position: fixed;
    right: 8px !important;
    bottom: 8px !important;
    left: auto !important;
    top: auto !important;
  }
  .yra-pro-ml-switcher-button {
    min-width: 82px;
    min-height: 40px;
    padding: 5px 8px;
  }
}
