/* Decorative masks only: real translated text, controls and layout stay untouched. */
.site-locale-decode {
  position: fixed;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  overflow: visible;
  z-index: 2147483000;
  pointer-events: none !important;
  user-select: none;
  contain: layout style;
}
.site-locale-decode-glyph {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--color-brand-secondary);
  font-family: var(--font-mono, ui-monospace, monospace);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  pointer-events: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .site-locale-decode { display: none !important; }
}
@media (forced-colors: active) {
  .site-locale-decode { display: none !important; }
}
.locale-switcher-status {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 260px;
  padding: 12px 16px;
  background: var(--color-surface-page);
  color: var(--color-text-primary);
  border: 1px solid var(--color-border-strong);
  font-size: 13px;
  line-height: 1.5;
  z-index: 30;
}
html:has(body[data-locale-state="switching"]) { scroll-snap-type: none; }
