.mms-language-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 45;
  font-family: Arial, sans-serif;
}

.mms-language-control label {
  min-height: 42px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(104, 67, 195, .16);
  border-radius: 14px;
  background: rgba(255, 255, 255, .9);
  color: #625c79;
  font-size: 11px;
  font-weight: 800;
}

.mms-language-control label > span { display: none; }

.mms-language-control select {
  min-width: 82px;
  border: 0;
  outline: 0;
  color: #29215e;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.mms-language-control > a {
  min-height: 42px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #e45d9c, #6843c3);
  box-shadow: 0 8px 20px rgba(104, 67, 195, .2);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.site-header > .mms-language-control {
  position: absolute;
  right: 12px;
  top: calc(100% + 9px);
}
.onboarding-card > .mms-language-control { width: 100%; justify-content: flex-end; margin-bottom: 5px; }

html.mms-translating body::after {
  content: "";
  width: 7px;
  height: 7px;
  position: fixed;
  right: 13px;
  bottom: 13px;
  z-index: 100;
  border-radius: 50%;
  background: #e45d9c;
  box-shadow: 0 0 0 6px rgba(228, 93, 156, .14);
  animation: mms-translation-pulse 1s ease-in-out infinite;
}

.mms-paywall {
  position: fixed;
  inset: 0;
  z-index: 200;
  padding: 20px;
  display: grid;
  place-items: center;
  background: rgba(34, 25, 70, .72);
  backdrop-filter: blur(15px);
}

.mms-paywall section {
  width: min(480px, 100%);
  padding: 42px 34px 34px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 30px;
  color: #29215e;
  background: linear-gradient(145deg, #fff, #fff2f8 55%, #f1eaff);
  box-shadow: 0 30px 90px rgba(25, 14, 58, .38);
  text-align: center;
}

.mms-paywall section > span {
  width: 66px;
  height: 66px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #e45d9c, #6843c3);
  font-size: 1.8rem;
}

.mms-paywall h2 { margin: 0 0 12px; font: 700 2.35rem/1 Georgia, serif; letter-spacing: -.04em; }
.mms-paywall p { margin: 0 auto 24px; max-width: 390px; color: #625c79; line-height: 1.6; }
.mms-paywall a {
  min-height: 54px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 17px;
  color: #fff;
  background: linear-gradient(135deg, #e45d9c, #6843c3);
  font-weight: 850;
  text-decoration: none;
}

@keyframes mms-translation-pulse {
  50% { transform: scale(.72); opacity: .55; }
}

@media (max-width: 590px) {
  .mms-language-control { gap: 5px; }
  .mms-language-control label { min-height: 38px; padding-inline: 7px; }
  .mms-language-control select { min-width: 70px; font-size: 10px; }
  .mms-language-control > a { min-height: 38px; padding-inline: 11px; font-size: 10px; }
  .header-actions .mms-language-control { width: 100%; justify-content: center; }
}
