/* Shared, script-independent language controls. */
a.company-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
a.company-link:focus-visible { outline: 3px solid #ff7dbd; outline-offset: 3px; border-radius: 2px; }
.language-switcher {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  font: 500 13px/1.5 system-ui, sans-serif;
  letter-spacing: normal;
}
.language-switcher a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 5px;
  color: #e7e7ee;
  text-decoration: none;
  text-underline-offset: 4px;
  white-space: nowrap;
}
.language-switcher a[aria-current="true"] { color: #ff7dbd; text-decoration: underline; }
.language-switcher span { color: #a7abb8; }
.language-switcher a:hover { text-decoration: underline; }
.language-switcher a:focus-visible,
.language-suggestion a:focus-visible,
.language-suggestion button:focus-visible { outline: 3px solid #ff7dbd; outline-offset: 3px; border-radius: 4px; }
.s-header__actions > .language-switcher { margin-right: 8px; }
.s-menu__panel > .language-switcher { display: flex; margin-top: 16px; border-top: 1px solid #34323e; }
.s-footer__bottom > .language-switcher { justify-content: flex-start; }
.nav-links { flex-wrap: wrap; min-width: 0; max-width: 100%; }
.nav-links > .language-switcher { vertical-align: middle; }
.language-tools { position: absolute; top: 12px; left: 20px; right: 20px; display: flex; justify-content: flex-end; z-index: 20; }
body.has-language-tools { box-sizing: border-box; padding-top: 76px; }
.language-footer { box-sizing: border-box; width: 100%; padding: 20px; text-align: center; }
.language-room-tools, .language-room-footer { display: flex; flex: 0 0 auto; justify-content: flex-end; padding: 0 12px; }
.language-room-footer { justify-content: center; }
.language-suggestion {
  position: fixed;
  z-index: 100;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 32px);
  padding: 8px 10px 8px 18px;
  border: 1px solid #5e3651;
  border-radius: 16px;
  background: #17101b;
  box-shadow: 0 8px 28px #0008;
  color: #f5f5f8;
  font: 500 14px/1.5 system-ui, sans-serif;
}
.language-suggestion[hidden] { display: none; }
.language-suggestion a { display: inline-flex; align-items: center; min-height: 44px; color: #ff9cca; text-underline-offset: 4px; }
.language-suggestion button { flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #f5f5f8; font: 24px/1 system-ui, sans-serif; cursor: pointer; }
html:lang(fr) .s-display { font-size: clamp(42px, 4.9vw, 64px); }
html:lang(fr) .s-header__row { gap: 14px; }
@media (max-width: 960px) {
  .s-header__actions > .language-switcher { display: none; }
}
@media (max-width: 620px) {
  .nav { flex-wrap: wrap; gap: 12px; }
  .legal-page .nav-links { display: flex; flex-wrap: wrap; }
  .language-tools { left: 12px; right: 12px; }
}
