/* Locale adjustments preserve the existing layout and artwork. */
[data-site-language-status] {
  margin: 0;
  padding: 12px 24px;
  color: #eee;
  font: 400 14px/1.5 Arial, sans-serif;
  text-align: start;
}
[data-site-language-status][hidden] { display: none; }
:is(html[lang="ar"], html[lang="ja"], html[lang="ko"], html[lang="th"], html[lang^="zh"]) :is(h1,h2,h3,h4,p,a,button,label,strong,summary):not(.xfg-brand):not(.xfg-brand *):not(#hero-title):not(#hero-title *):not(.xfg-game-tour__name):not(.xp-game__name) {
  letter-spacing: normal;
}
html[lang="ar"] :is(h1,h2,h3,h4,p,a,button,label,strong,summary):not(.xfg-brand):not(.xfg-brand *):not(#hero-title):not(#hero-title *):not(.xfg-game-tour__name):not(.xp-game__name) {
  font-family: Tahoma, Arial, sans-serif;
}
html[lang="ar"] :is(.xfg-header,.xfg-game-tour,.xfg-brand,.footer-region-menu__grid,.streamers__stage,.xp-community-deck,.xp-games__deck,.xp-id-stage,.xp-id-options,.storefront-hero__slides,.storefront-hero__navigation,.storefront-merch__track,.community-route__media) {
  direction: ltr;
}
html[lang="ar"] :is(.xfg-nav-menu,.xfg-mobile-menu,.cookie-dialog,.footer-region-menu__header) {
  direction: rtl;
}
html[lang="ar"] :is(.xp-panel-caption,.xp-game__detail,.streamers__details,.storefront-hero__content) { direction: rtl; }
html[lang="ar"] :is(.xfg-nav-menu,.xfg-mobile-menu) a { text-align: start; }
html:not([lang="en"]) :is(.xfg-button,.button,.btn) { white-space: normal; }
html:not([lang="en"]) main :is(h1,h2,h3):not(#hero-title):not(.xfg-game-tour__name),
html:not([lang="en"]) .xp-panel-caption h3 button {
  overflow-wrap: anywhere;
  hyphens: auto;
}
html:not([lang="en"]) .xfg-home.xfg-home--community-layout .xfg-collection h2 {
  white-space: normal;
}
html:not([lang="en"]) .footer-privacy-choices { white-space: normal; }
html:not([lang="en"]) .footer-cookie-setting {
  width: auto;
  height: auto;
  max-width: calc(100vw - 40px);
  padding-inline: 20px;
  white-space: normal;
}
