/* Hebrew is a mirrored layout, with isolated Latin titles and untouched artwork. */
html[lang=he] body{direction:rtl;text-align:right}
html[lang=he] :is(header,.world-header,header nav,.world-footer,.iron-footer,footer){direction:rtl}
html[lang=he] .wordmark{direction:ltr;unicode-bidi:isolate}
html[lang=he] :is(.world-grid,.feature-row,.origin,.legal-layout,.support-layout,.dragon-secret,.iron-premise,.transmission,.world-picker,.pony-facts,.wardrobe-grid,.skin-grid,.realm-grid,.dragon-character-grid,.realm-story,.forest-mystery,.flight-heading,.realm-finale,.world-choices,.door-grid,.lion-art-grid,.section-head){direction:rtl}
html[lang=he] :is(.realm-intro,.realm-story>div,.forest-mystery>div,.flight-heading,.explorer-heading,.skin-story,.world-doorways,.card-content,.hero-copy,.iron-intro){text-align:start;direction:rtl;min-width:0}
html[lang=he] :is(.realm-intro h1,.hero-copy h1,.dragon-intro h1){direction:ltr;unicode-bidi:isolate;text-align:right;font-family:'Segoe UI',Arial,sans-serif;font-weight:850;line-height:.94;letter-spacing:-.055em}
html[lang=he] .realm-intro h1{font-size:clamp(78px,9.4vw,140px);margin:30px 0 26px}
html[lang=he] :is(.realm-tagline,.journey h2){font-family:Rubik,Heebo,Arial,sans-serif;letter-spacing:-.025em;line-height:1.18}
html[lang=he] .realm-tagline{font-size:clamp(27px,3vw,39px);font-weight:650;max-width:480px}
html[lang=he] .journey h2{font-weight:700;font-size:clamp(34px,4.1vw,59px)}
html[lang=he] .journey p{line-height:1.85}
html[lang=he] :is(.realm-eyebrow,.development-label,.realm-button,.forest-motion,.teaser-meta){font-family:Heebo,'Segoe UI',Arial,sans-serif;letter-spacing:0;direction:rtl}
html[lang=he] .realm-eyebrow{font-size:12px;font-weight:650}
html[lang=he] .realm-button{font-size:13px;gap:15px}
html[lang=he] .development-label{font-size:11px}
html[lang=he] :is(.realm-intro>p,.realm-story p,.forest-mystery p,.realm-finale p,.hero-copy>p){margin-inline-start:0;margin-inline-end:auto}
html[lang=he] :is(.lion-finale,.wolf-finale,.tiger-finale) p{margin-inline:auto}
html[lang=he] :is(.lion-finale,.wolf-finale,.tiger-finale){text-align:center}
html[lang=he] :is(.world-view figcaption,.world-caption,.world-overlay){direction:rtl;text-align:right}
html[lang=he] :is(#realm-world-number,.world-number,#world-number){display:inline-block;direction:ltr;unicode-bidi:isolate;letter-spacing:.08em}
html[lang=he] .realm-door strong{direction:ltr;unicode-bidi:isolate;text-align:right;font-family:'Segoe UI',Arial,sans-serif;letter-spacing:-.03em}
html[lang=he] .realm-door small{direction:rtl;letter-spacing:0}
html[lang=he] .realm-hero{direction:rtl}
html[lang=he] .hero-dragon{right:auto;left:7%;transform:scaleX(-1)}
html[lang=he] .realm-backdrop{left:0;right:auto}
html[lang=he] .dragon-journey .realm-backdrop{right:auto;left:0;width:76%;object-position:center}
html[lang=he] :is(.lion-hero,.wolf-hero,.tiger-hero) .realm-backdrop{right:auto;left:0;width:77%;object-position:center}
html[lang=he] .realm-hero .realm-veil{background:linear-gradient(270deg,var(--base) 1%,color-mix(in srgb,var(--base) 92%,transparent) 27%,transparent 76%),linear-gradient(0deg,var(--base),transparent 30%)}
html[lang=he] .pony-cast{left:0;right:40%;scale:-1 1}
html[lang=he] .hero-shade{background:linear-gradient(270deg,#fffbf4f5 0%,#fff9ebdd 30%,#e1ebff22 67%),linear-gradient(0deg,#fff9ee,transparent 20%)}
html[lang=he] .hero-copy{margin-left:0;margin-inline-end:auto}
html[lang=he] .hero-copy h1{font-size:clamp(70px,8.3vw,126px)}
html[lang=he] .iron-splash{left:0;right:38%}
html[lang=he] .iron-splash:after{background:linear-gradient(270deg,#111416,transparent 60%),linear-gradient(0deg,#111416,transparent 50%)}
html[lang=he] .iron-intro{margin-inline-end:auto}
html[lang=he] .home .scene-art{scale:-1 1}
html[lang=he] .home .portal-copy{text-align:right}
html[lang=he] .portal-copy h1{font-size:clamp(38px,4.8vw,74px);line-height:1.15;letter-spacing:-.035em;font-weight:650}
html[lang=he] .home .hero:before{background:linear-gradient(270deg,transparent 43%,#04081212 56%,#0408126b 100%),linear-gradient(0deg,#040812,transparent 25%)}
html[lang=he] .universe-copy{margin-left:0;margin-right:6vw}
html[lang=he] .universe:before{background:linear-gradient(270deg,#040812d9,#04081220 32%,transparent 55%),linear-gradient(0deg,#040812,transparent 18%,transparent 85%,#040812)}
html[lang=he] .universe-note{right:auto;left:6vw;letter-spacing:0}
html[lang=he] .home .universe-copy h2{font-size:clamp(38px,4.7vw,72px);line-height:1.2;letter-spacing:-.03em}
html[lang=he] .scene-foot{letter-spacing:0}
html[lang=he] .motion-toggle{right:auto;left:22px;letter-spacing:0}
html[lang=he] .social-dock{right:auto;left:max(12px,env(safe-area-inset-left))}
html[lang=he] .social-dock .social-dock-link:hover{transform:translateX(2px)}
html[lang=he] :is(.pony-teaser-feature,.pony-teaser-feature>div){direction:rtl;text-align:right}
html[lang=he] .pony-teaser-feature :is(.kicker,.teaser-meta){letter-spacing:0}
@media(min-width:901px){html[lang=he] body{padding-right:0;padding-left:100px}}
@media(max-width:1050px) and (min-width:851px){html[lang=he] .pony-cast{left:0;right:43%}}
@media(max-width:900px){html[lang=he] .social-dock{right:auto;left:max(10px,env(safe-area-inset-left))}html[lang=he] .social-dock .social-dock-links{right:auto;left:0}html[lang=he] .motion-toggle{right:auto;left:85px}}
@media(max-width:850px){
 html[lang=he] .journey .world-header{align-items:center;gap:12px}
 html[lang=he] .journey .world-header nav{justify-content:flex-start;max-width:65%}
 html[lang=he] .realm-intro{width:100%;padding:360px 7vw 65px}
 html[lang=he] .realm-intro h1{font-size:clamp(68px,20vw,100px);margin:24px 0;line-height:.96}
 html[lang=he] .realm-intro .realm-eyebrow{font-size:11px;line-height:1.7}
 html[lang=he] .realm-tagline{font-size:29px;line-height:1.28}
 html[lang=he] .journey h2{font-size:clamp(31px,8vw,43px);line-height:1.23}
 html[lang=he] .realm-intro>p:not(.realm-tagline){font-size:16px}
 html[lang=he] :is(.dragon-journey,.lion-journey,.wolf-journey,.tiger-journey) .realm-backdrop{right:0;left:0;width:100%;object-position:center}
 html[lang=he] .realm-hero .realm-veil{background:linear-gradient(0deg,var(--base) 40%,transparent 100%)}
 html[lang=he] :is(.lion-hero,.wolf-hero,.tiger-hero) .realm-veil{background:linear-gradient(0deg,var(--base) 51%,color-mix(in srgb,var(--base) 38%,transparent) 72%,transparent 92%)}
 html[lang=he] .hero-dragon{left:15%;right:auto;top:85px;width:70%}
 html[lang=he] .dragon-journey .realm-intro{padding-top:385px}
 html[lang=he] .pony-cast{inset:auto 0 30px;height:340px}
 html[lang=he] .hero-copy h1{font-size:83px}
 html[lang=he] .hero-shade{background:linear-gradient(0deg,#fff9ee,transparent 40%),linear-gradient(270deg,#fff8ebed,#fff6e8bb 50%,#fff6e877)}
 html[lang=he] .iron-splash{left:0;right:12%}
 html[lang=he] .iron-splash:after{background:linear-gradient(270deg,#111416d9,#11141622),linear-gradient(0deg,#111416,transparent)}
 html[lang=he] .world-doorways>h2{font-size:34px;line-height:1.2;letter-spacing:-.03em}
}
@media(max-width:700px){html[lang=he] .portal-copy h1{font-size:clamp(36px,9vw,53px);line-height:1.17}html[lang=he] .home .universe-copy{margin:0 7vw}html[lang=he] .home .universe-copy h2{font-size:clamp(35px,9vw,53px);line-height:1.2}}
@media print{html[lang=he] body{padding-left:0}}
html[lang=he] .journey p.realm-tagline{line-height:1.25}html[lang=he] .realm-intro h1{overflow-wrap:normal;word-break:normal}html[lang=he] #skip{right:auto;left:24px}
@media(max-width:850px){html[lang=he] .world-header nav>a[href*="index.html#worlds"]{display:inline-flex!important}html[lang=he] .world-header nav>a[href="my-pony.html"],html[lang=he] .world-header nav>a[href="support.html"]{display:none!important}}
