/* New locales preserve the existing layout and artwork positions. */
html[data-added-locale] :is(h1,h2,h3,p,a,button,li,td,th) {overflow-wrap:anywhere;}
html[data-added-locale] .bl-hero-copy h1 {line-height:1.2;}
html[lang^="th"] body {font-family:Roboto,"Noto Sans Thai",Thonburi,Tahoma,sans-serif;}
html[lang^="my"] body {font-family:Roboto,"Noto Sans Myanmar","Myanmar Sangam MN",sans-serif;line-height:1.7;}
html[lang^="hi"] body {font-family:Roboto,"Noto Sans Devanagari","Kohinoor Devanagari",sans-serif;}
html[lang^="ar"] body {font-family:Roboto,"Noto Sans Arabic","Geeza Pro",Tahoma,sans-serif;}
html[dir="rtl"] :is(.bl-page-shell,.bl-topbar,.bl-promo-deck-stage,.bl-offer-banner-card,.bl-hero,.xf-partners) {direction:ltr;}
html[dir="rtl"] :is(.bl-article-content,.bl-hero-copy,.bl-offer-banner-copy,.bl-promo-deck-copy,.bl-device-banner-card,.xf-footer,.xb-left,.bl-right-panel) {direction:rtl;text-align:right;}
html[dir="rtl"] :is(.bl-hero-actions,.bl-art-actions,.bl-offer-banner-cta,.bl-topbar-nav) {direction:rtl;}
html[dir="rtl"] :is(.xf-partners-track,.xf-partners-row,.bl-promo-deck-dots) {direction:ltr;}
html[dir="rtl"] .bl-promo-description-line {unicode-bidi:plaintext;}
html[data-added-locale] .bl-promo-deck-name {line-height:1.3;}
@media(max-width:600px){
 html[data-added-locale] .bl-hero-copy h1 {font-size:clamp(21px,6vw,28px);}
 html[lang^="my"] :is(.bl-promo-deck-name,.bl-offer-banner-title) {line-height:1.5;}
}
:root[data-added-locale] {--locale-font:Roboto,Arial,sans-serif;}
:root[lang^="th"] {--locale-font:Roboto,"Noto Sans Thai",Thonburi,Tahoma,sans-serif;}
:root[lang^="my"] {--locale-font:Roboto,"Noto Sans Myanmar","Myanmar Sangam MN",sans-serif;}
:root[lang^="hi"] {--locale-font:Roboto,"Noto Sans Devanagari","Kohinoor Devanagari",sans-serif;}
:root[lang^="ar"] {--locale-font:Roboto,"Noto Sans Arabic","Geeza Pro",Tahoma,sans-serif;}
:root:root[data-added-locale] body,
:root:root[data-added-locale] body :is(button,input,select,textarea,h1,h2,h3,h4,a,p,li,span,small,strong,td,th) {font-family:var(--locale-font)!important;}
:root[lang^="my"] .bl-story-block :is(p,li) {line-height:1.8;}
html[dir="rtl"] .bl-hero-rating > span {direction:ltr;unicode-bidi:isolate;display:inline-block;}
/* Morocco: mirror the complete interface, while keeping artwork lettering readable. */
:root:root[dir="rtl"] body :is(.bl-page-shell,.bl-topbar,.bl-nav,.bl-promo-deck-stage,.bl-offer-banner-card,.bl-hero,.xf-partners,.xf-partners-track,.xf-partners-row,.bl-promo-deck-dots) {direction:rtl;}
:root:root[dir="rtl"] body :is(.bl-hero-copy,.bl-offer-banner-copy,.bl-promo-deck-copy,.bl-story-copy,.bl-faq-question,.bl-faq-answer) {text-align:right;}
:root:root[dir="rtl"] body .bl-promo-deck-copy {left:auto;right:0;padding-inline:26px;align-items:flex-start;}
:root:root[dir="rtl"] body .bl-promo-deck-slide {left:auto;right:0;}
:root:root[dir="rtl"] body .bl-state-preview-1 {left:auto;right:56%;}
:root:root[dir="rtl"] body .bl-state-preview-2 {left:auto;right:64%;}
:root:root[dir="rtl"] body .bl-state-preview-3 {left:auto;right:71%;}
:root:root[dir="rtl"] body .bl-state-preview-4 {left:auto;right:77%;}
:root:root[dir="rtl"] body .bl-promo-deck-prev {left:auto;right:9px;transform:scaleX(-1);}
:root:root[dir="rtl"] body .bl-promo-deck-next {right:auto;left:9px;transform:scaleX(-1);}
:root:root[dir="rtl"] body .bl-promo-deck-banner {background:#071e26;}
:root:root[dir="rtl"] body .bl-promo-deck-slide.is-active .bl-promo-deck-media {width:65%;margin-right:auto;}
:root:root[dir="rtl"] body .bl-promo-deck-media::after {background:linear-gradient(90deg,transparent 45%,#071e26 100%);}
:root:root[dir="rtl"] body .bl-hero::after {background:linear-gradient(270deg,#071e26 8%,rgba(7,26,48,.85) 37%,transparent 78%)!important;}
@media(min-width:761px){
 :root:root[dir="rtl"] body .bl-hero {background:#071e26;}
 :root:root[dir="rtl"] body .bl-hero-img {width:67%;right:auto;left:0;object-position:right center;}
 :root:root[dir="rtl"] body .bl-hero-copy {margin-left:0;margin-right:0;}
 :root:root[dir="rtl"] body .bl-offer-banner-copy {margin-left:0!important;margin-right:auto!important;align-items:flex-start!important;}
 :root:root[dir="rtl"] body .bl-offer-banner-image {width:64%;left:0;right:auto;object-position:right center;mask-image:linear-gradient(90deg,#000 60%,transparent);}
}
@media(max-width:600px){
 :root:root[dir="rtl"] body .bl-state-preview-1 {right:72%;}
 :root:root[dir="rtl"] body .bl-state-preview-2 {right:77%;}
 :root:root[dir="rtl"] body .bl-state-preview-3 {right:81%;}
 :root:root[dir="rtl"] body .bl-state-preview-4 {right:85%;}
 :root:root[dir="rtl"] body .bl-promo-deck-copy {padding-inline:15px;}
 :root:root[dir="rtl"] body .bl-hero::after {background:linear-gradient(0deg,rgba(7,26,48,.4),transparent)!important;}
}
:root:root[dir="rtl"] body .bl-nav {margin-inline:auto!important;}
:root:root[dir="rtl"] body .bl-brand-logo {object-position:right center;}
:root:root[dir="rtl"] body .bl-floating-chat {left:auto;right:20px;}
:root:root[dir="rtl"] body .bl-hero {background:#071e26!important;}
:root:root[dir="rtl"] body .bl-promo-deck-slide.bl-state-active .bl-promo-deck-media {width:62%;margin-right:auto;margin-left:0;}
:root:root[dir="rtl"] body .bl-promo-deck-slide.bl-state-active .bl-promo-deck-media img {object-position:right center;}
:root:root[dir="rtl"] body .bl-promo-deck-media::after {background:linear-gradient(90deg,transparent 65%,#071e26 100%)!important;}
@media(min-width:761px){
 :root:root[dir="rtl"] body .bl-hero-img {width:65%;left:-12%;mask-image:linear-gradient(90deg,#000 75%,transparent 100%);}
 :root:root[dir="rtl"] body .bl-hero-copy {width:56%;}
}
@media(max-width:900px){
 :root:root[dir="rtl"] body .bl-brand {margin-right:0;margin-left:auto;}
}
@media(min-width:901px){
 :root:root[dir="rtl"] body .bl-nav-links {margin-right:0!important;margin-left:auto!important;}
}
:root:root[dir="rtl"] body .xb-odds button span,
:root:root[dir="rtl"] body .xb-pages small {direction:ltr;unicode-bidi:isolate;}
:root:root[dir="rtl"] body :is(.bl-promo-deck-prev,.bl-promo-deck-next) {direction:ltr;transform:translateY(-50%) scaleX(-1);}
@media(min-width:761px){
 :root:root[dir="rtl"] body .bl-offer-banner-card .bl-offer-banner-copy {margin-left:auto!important;margin-right:0!important;}
}
:root:root[dir="rtl"] body .xf-footer {margin-inline:auto!important;}
:root:root[dir="rtl"] body :is(.xf-phone,.xf-age) {direction:ltr;unicode-bidi:isolate;}
