.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 8px 28px rgba(35, 32, 22, .08);
  backdrop-filter: blur(12px);
}

.language-switcher a {
  display: grid;
  place-items: center;
  min-width: 34px;
  min-height: 30px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .06em;
}

.language-switcher a[aria-current="true"] {
  background: var(--ink);
  color: #fff;
}

.floating-language-switcher {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 50;
}

html[lang="en"] .watermark-preview::after { content: "PREVIEW"; }
html[lang="en"] .watermark-preview.disabled::before { content: "Disabled"; }

@media (max-width: 640px) {
  .topbar-actions { gap: 6px; }
  .topbar .language-switcher a { min-width: 29px; min-height: 28px; }
  .topbar-actions .button { min-height: 36px; padding: 0 12px; }
  .floating-language-switcher { left: 12px; bottom: 12px; }
}
