/* Review-only layout. Never mirror art, video, map geometry or user content. */
html[dir=rtl] body{text-align:start}
html[dir=rtl] :is(.site-header,.page-header,.tool-header,.auth-header,.account-header,.page-actions,.tool-actions,.header-actions,.heading,.account-top,.profile-heading,.neon-utilities,.neon-tile,.neon-utility,.neon-heading){direction:rtl}
html[dir=rtl] :is(.neon-tile,.neon-utility,.account-recommendation,.player-chip,.evidence-card,.header-info-popover a,.field){text-align:start}
html[dir=rtl] :is(.neon-grid,.dock-grid,.metrics-grid,.news-grid,.roster-grid,.evidence-grid,.profile-facts,.tabs,.player-strip,.workspace,.session-stats,.add-player){direction:rtl}
html[dir=rtl] .odin-rail{right:24px;left:auto}
html[dir=rtl] .mobile-drawer{right:14px;left:auto}
html[dir=rtl] .drawer-panel{right:0;left:auto;text-align:start;direction:rtl;border-radius:28px 0 0 28px;border-right:0;border-left:1px solid var(--rail-line)}
html[dir=rtl] .drawer-panel nav a{direction:rtl}
html[dir=rtl] .neon-copy{direction:rtl;text-align:start}
html[dir=rtl] .neon-tile:before{left:12px;right:auto}
html[dir=rtl] .header-info-popover{right:auto;left:0}
html[dir=rtl] .site-header .mini-brand{justify-self:start}
html[dir=rtl] .odin-language-picker .language-options{right:auto;left:0}
html[dir=rtl] :is(input[type=email],input[type=url],input[type=password],input[name=playerTag],.account-email,.player-tag,.history-sample,.metric strong,.stage,.preview-area){direction:ltr;unicode-bidi:isolate}
html[dir=rtl] :is(.account-ranked-value,.account-rank-name){direction:rtl;unicode-bidi:isolate}
html[dir=rtl] :is(.mini-brand,.account-brand,.page-brand,.brand-mark,.brand-logo){direction:ltr;unicode-bidi:isolate}
html[dir=rtl] :is(table,th,td){text-align:start}
html[dir=rtl] .close{float:left}
/* Text direction must not reverse the physical travel of a switch thumb. */
html[dir=rtl] .map-scope-switch{direction:ltr;box-sizing:border-box;overflow:hidden;min-width:54px;max-width:54px}
html[dir=rtl] .map-scope-switch>span{position:absolute;left:3px;top:3px;margin:0}
html[dir=rtl] .map-scope-control{max-inline-size:100%;gap:10px;align-items:center}
html[dir=rtl] .map-scope-control>:not(button){min-inline-size:0;max-inline-size:100%;white-space:normal;overflow-wrap:anywhere}
/* Intrinsic minimum widths and nowrap English badges must not grow Hebrew cards. */
html[dir=rtl] :is(.pick-card,.brawler,.recommendation,.rec-top,.rec-select,.rec-select>span,.picker-rec,.picker-rec>span,.role-completion,.lib-card,.lib-best,.lib-card-top,.lib-match summary>span,.lib-map-row>div,.roster-button,.member,.evidence-card,.evidence-card .members){min-inline-size:0;max-inline-size:100%;box-sizing:border-box}
html[dir=rtl] :is(.brawler strong,.brawler small,.role-label,.lib-name,.lib-role,.lib-rarity,.lib-best,.lib-best small,.rarity,.counter-tag,.map-win-rate,.ban-win-rate,.picker-rec strong,.picker-rec small,.roster-button strong,.roster-button small,.member strong,.evidence-card h3,.rec-select strong,.rec-select small){white-space:normal;overflow-wrap:anywhere;word-break:normal;line-height:1.45;max-inline-size:100%;letter-spacing:normal}
html[dir=rtl] :is(.role-label,.lib-role,.member .role,.roster-button .role){display:inline-flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px}
html[dir=rtl] :is(.role-label,.lib-role,.member .role,.roster-button .role)>img{flex-shrink:0;max-width:24px;max-height:24px}
html[dir=rtl] :is(.rec-top,.lib-card-top,.role-counts,.role-shapes){flex-wrap:wrap}
html[dir=rtl] :is(.rec-select,.picker-rec){text-align:start}
html[dir=rtl] :is(.brawler-grid,.lib-grid,.roster-grid,.evidence-grid){min-inline-size:0}
html[dir=rtl] :is(.lib-open,.role-filter,.roster-controls select,.draft-mode){white-space:normal;overflow-wrap:anywhere;max-inline-size:100%}
html[dir=rtl] :is(.brawler .portrait,.rec-select>img,.picker-rec>.portrait){flex-shrink:0}
html[dir=rtl] #picker-recommendations .picker-rec .picker-win-rate{white-space:normal!important;line-height:1.45;overflow-wrap:anywhere;max-width:100%;height:auto}
@media(max-width:760px){html[dir=rtl] .neon-tile .neon-copy{text-align:center}}
html[dir=rtl] :is(.metric,.profile-facts>div,.insight-cards>article,.upgrade-panel,.battle-insights,.insight-notes,.profile-heading,.upgrade-heading,.insight-heading){direction:rtl;text-align:right}
html[dir=rtl] :is(.metric>strong,.profile-facts strong,.profile-facts small,.insight-cards strong,.history-sample,.account-email){text-align:right}
@media(max-width:640px){html[dir=rtl] .site-header{padding-right:60px;padding-left:0}}
@media(min-width:841px){
 html[dir=rtl] body.creator-site-shell>main{margin-right:132px;margin-left:20px}
 html[dir=rtl] .creator-site-shell .creator-guide-actions{padding-right:152px;padding-left:24px;direction:rtl}
 html[dir=rtl] .creator-site-shell>.integration-preview{margin-right:152px;margin-left:0}
 html[dir=rtl] #he-review-banner{width:min(1100px,calc(100% - 304px))!important}
}
@media(max-width:840px){
 html[dir=rtl] .creator-site-shell>.site-header{padding-right:60px;padding-left:0}
 html[dir=rtl] .mobile-drawer .drawer-panel>.drawer-close{right:auto;left:16px}
 html[dir=rtl] .mobile-drawer .drawer-panel>.drawer-install{right:auto;left:72px}
 html[dir=rtl] .mobile-drawer .drawer-panel>.odin-language-picker{right:auto;left:128px}
 html[dir=rtl] .drawer-panel .odin-language-picker .language-options{right:auto;left:-112px}
}
