/* v1.0.3: a compact, viewport-fixed switch on configured catalogue pages only.
   It stays at the upper right while scrolling; on mobile it stays clear of the center logo. */
.fsdn-switch {
  position: fixed;
  z-index: 999;
  top: 100px;
  right: 22px;
  display: flex;
  gap: 3px;
  align-items: center;
  border: 1px solid rgba(104, 255, 212, .38);
  border-radius: 999px;
  padding: 4px;
  background: rgba(8, 12, 15, .91);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.fsdn-switch .fsdn-choice {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  box-shadow: none;
  cursor: pointer;
  background: transparent;
  color: #e6eeec;
  padding: 9px 13px;
  min-width: 79px;
  border-radius: 999px;
  font-family: Anton, Impact, 'Arial Narrow', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .75px;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background-color .16s ease, color .16s ease;
}
.fsdn-switch .fsdn-choice:hover:not(.is-active) { background: rgba(255, 255, 255, .10); color: #fff; }
.fsdn-switch .fsdn-choice.is-active { background: #55ffd0; color: #07120f; }
.fsdn-switch .fsdn-choice:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.fsdn-switch .fsdn-icon { font-size: 16px; line-height: 1; }
@media (max-width: 767px) {
  .fsdn-switch { top: 74px; right: 12px; left: auto; transform: none; padding: 3px; max-width: calc(100vw - 24px); }
  .fsdn-switch .fsdn-choice { min-width: 60px; font-size: 11px; padding: 8px 8px; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .fsdn-switch .fsdn-choice { transition: none; }
}

/* The language-aware caption is generated from the localized data attribute.
   There is no text node for automatic translation scripts to overwrite. */
.fsdn-switch .fsdn-choice::after { content: attr(data-fsdn-display); }
