.language-switch {
  align-items: center;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  gap: 4px;
  padding: 4px;
}

html[data-language-loading="true"]:not([data-language-ready="true"]) body {
  opacity: 0;
}

html[data-language-ready="true"] body {
  opacity: 1;
  transition: opacity .08s ease;
}

.language-switch button {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: .84rem;
  font-weight: 850;
  padding: 8px 10px;
}

.language-switch button.active {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
}

.store-badges {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.store-badge {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  display: inline-flex;
  height: auto;
  justify-content: center;
  overflow: visible;
  padding: 0;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.store-badge:hover {
  box-shadow: none;
  transform: translateY(-2px);
}

.store-badge img {
  display: block;
  height: 44px;
  object-fit: contain;
  width: auto;
}

.store-badge.app-store img {
  height: 44px;
  margin: 0;
}

.store-badge.google-play img {
  height: 62px;
  min-width: 188px;
}

.store-note {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.55;
  margin-top: 10px;
}

@media (max-width: 900px) {
  .language-switch {
    margin-left: auto;
  }
}

@media (max-width: 520px) {
  .store-badges {
    gap: 10px;
  }

  .store-badge img,
  .store-badge.app-store img {
    height: 40px;
  }

  .store-badge.google-play img {
    height: 56px;
    min-width: 170px;
  }
}
