.translation-toggle {
  position: fixed;
  z-index: 100;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 7px 14px 7px 7px;
  border: 1px solid rgba(255, 255, 255, .56);
  border-radius: 999px;
  background: rgba(31, 3, 25, .84);
  box-shadow: 0 16px 32px rgba(30, 0, 21, .28), 0 1px 0 rgba(255, 255, 255, .2) inset;
  color: #ffe8f5;
  font: 800 12px/1 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: .05em;
  text-transform: uppercase;
  backdrop-filter: blur(18px) saturate(1.32);
}

.translation-toggle__mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(100deg, #ff3eae 0%, #ff8bca 25%, #d7b6ff 49%, #87e6ec 73%, #ffda8b 100%);
  color: #2c001e;
  font-size: 15px;
  line-height: 1;
}

.translation-toggle__button {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.translation-toggle__button:hover {
  color: #ffaddc;
}

.translation-toggle__button:focus-visible {
  outline: 3px solid #b864ff;
  outline-offset: 4px;
  border-radius: 4px;
}

.translation-toggle.is-unavailable {
  opacity: .7;
}

.translation-toggle.is-unavailable .translation-toggle__button {
  cursor: not-allowed;
}

@media (max-width: 680px) {
  .translation-toggle {
    right: 14px;
    bottom: 14px;
    min-height: 43px;
    padding-right: 11px;
    font-size: 11px;
  }

  .translation-toggle__mark {
    width: 28px;
    height: 28px;
  }
}
