/* Text follows Hebrew reading order; physical corners and arena coordinates do not. */
html[lang="he"] body { font-family: Arial, "Segoe UI", sans-serif; }
html[lang="he"] :is(h1,h2,h3,h4,p,button,label,small,strong,span,a,select) { letter-spacing: normal; }
html[dir="rtl"] :is(input,textarea) { text-align: start; }
html[dir="rtl"] :is(input[type="email"],input[type="password"],input[type="url"],input[type="number"],time,[data-bidi="ltr"]) { direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] :is([dir="auto"],bdi) { unicode-bidi: isolate; }
html[dir="rtl"] :is(.panel-section,.hud-info,.banner-fighter>div,.mobile-action,.mobile-next-fight,.coach-guide,.settings-language) { text-align: start; }
html[dir="rtl"] :is(.language-switcher,.brand,.fight-logo,.gym-stage,.arena-world,.fight-hud,.versus-banner,.momentum-board,.meter,.radar-card,svg,#fightVisualStage,.official-stats,.judges-report) { direction: ltr; }
html[dir="rtl"] :is(.gym-stage button,.gym-stage a,.hud-info,.banner-fighter>div,.official-stats h3,.judges-report h3) { direction: rtl; }
html[dir="rtl"] :is(.hub-hud,.hud-actions,.tabs,.button-row,.language-switcher) { flex-wrap: wrap; }
html[dir="rtl"] :is(button,a,select,.career-chip,.panel-section,.mobile-action>span,.list li>span) { min-width: 0; }
html[dir="rtl"] :is(.panel-section p,.list small,.coach-guide p) { overflow-wrap: anywhere; }
html[dir="rtl"] :is(.settings-language select) { padding-inline: 12px 34px; }
html[dir="rtl"] :is(.recordline,.round-clock time,#hudRecord,#mobileRecord,#nightPlayerRecord,#nightOpponentRecord) { direction: ltr; unicode-bidi: isolate; }
@media(max-width:520px) {
  html[dir="rtl"] .language-switcher--hud { gap: 1px; }
  html[dir="rtl"] .language-switcher--hud button { padding-inline: 5px; }
}
html[dir="rtl"] :is(.scoreboard,.meters,.arena,.stats-row,.stat-row,.judges-grid) { direction: ltr; }
html[dir="rtl"] :is(.fighter-hud__identity,.action-copy,.fighter-poster span) { direction: rtl; }
html[dir="rtl"] .gym-stage :is(button,a) { text-align:start; }
html[lang="he"] .hub-intro h1 { font-size:clamp(32px,5vw,64px); }
