/* Keep the game wordmark, time stamps and model names in their original reading order. */
.brand,
#hero-title,
.chapter-list time,
.timecode,
.spec-data bdi,
.presets button {
  direction: ltr;
  unicode-bidi: isolate;
}

.hero-actions .button,
.chapter-list button { text-align: start; }
.section-head > *,
.guide-layout > *,
.pc-grid > *,
.support-intro > div,
.place-caption > div { min-inline-size: 0; }
.coming { white-space: normal; max-inline-size: 100%; }
.movie-credit { flex-wrap: wrap; }
.hero-actions .button > span { min-inline-size: 0; }
.lang-wrap select {
  min-inline-size: 0;
  padding-inline: 12px 30px;
  text-overflow: ellipsis;
}
.lang-wrap:after { right: auto; inset-inline-end: 12px; }

:is(:lang(ar), :lang(hi), :lang(th), :lang(zh), :lang(ja), :lang(ko)) :is(h2, h3, .eyebrow, .place small, .hero-location) {
  letter-spacing: normal;
}
:is(:lang(ar), :lang(hi), :lang(th)) :is(h2,h3) { line-height: 1.25; }
:is(:lang(ar), :lang(hi), :lang(th)) .action-label { line-height: 1.38; }
:is(:lang(ar), :lang(hi), :lang(th)) .tip-link { line-height: 1.4; }
:lang(hi) body { font-family: Roboto, "Noto Sans Devanagari", "Nirmala UI", sans-serif; }
:lang(th) body { font-family: Roboto, "Noto Sans Thai", "Leelawadee UI", Tahoma, sans-serif; }

html[dir="rtl"] body { font-family: "Segoe UI", Tahoma, "Noto Sans Arabic", Arial, sans-serif; }
html[dir="rtl"] :is(.hero-copy p, .support p, .dialog-content p) { line-height: 1.7; }
html[dir="rtl"] .skip { left: auto; right: 12px; }
html[dir="rtl"] .close { right: auto; left: 13px; }
html[dir="rtl"] .dialog-content .eyebrow { margin-inline: 0 35px; }
html[dir="rtl"] .spec-data dd { text-align: end; }
html[dir="rtl"] .coming { margin-left: 0; }
html[dir="rtl"] video::cue(:lang(ar)) { font-family: "Segoe UI", Tahoma, Arial, sans-serif; }

/* The artwork places the faces on the right. The copy and its existing shade stay on the left. */
html[dir="rtl"] .hero-inner { direction: ltr; }
html[dir="rtl"] .hero-copy,
html[dir="rtl"] .hero-location,
html[dir="rtl"] .hero-facts { direction: rtl; text-align: right; }
html[dir="rtl"] #hero-title { justify-items: end; text-align: right; }
html[dir="rtl"] #hero-title em { margin-right: -.125em; }
html[dir="rtl"] .hero-copy p { margin-inline-end: auto; }
@media (min-width: 651px) {
  html[dir="rtl"] .hero-copy { width: min(45%, 545px); }
  html[dir="rtl"] .hero-facts { left: auto; right: calc(100% - min(45%, 545px)); }
}
@media (max-width: 700px) {
  .js .head-inner { grid-template-columns: max-content minmax(0, 1fr) 42px; }
  .js .head-inner .lang-wrap { width: 100%; max-inline-size: 154px; justify-self: end; }
  .js .head-inner .lang-wrap select { width: 100%; max-width: 100%; padding-inline: 8px 23px; }
  .lang-wrap:after { inset-inline-end: 9px; }
  html[dir="rtl"] .coming { margin-inline-start: 63px; }
}
@media (max-width: 650px) {
  html[dir="rtl"] .hero-facts { left: auto; right: 0; }
  .support-inner .coming { min-inline-size: 0; }
  .hero-actions .tip-link,
  .hero-actions .action-label { overflow-wrap: anywhere; }
  .movie-credit { row-gap: 4px; }
}
@media (max-width: 365px) {
  .js .head-inner { column-gap: 7px; }
  .js .head-inner .brand img { display: none; }
  .js .head-inner .lang-wrap select { font-size: .82rem; min-height: 44px; }
  html[dir="rtl"] .coming { margin-inline-start: 0; }
}
