/* Shared language controls; media remain shared and are never mirrored. */
.footer-languages{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:.45rem;margin:1.25rem auto .25rem;padding:.5rem;max-width:1120px;direction:ltr;font-family:system-ui,-apple-system,"Segoe UI",sans-serif}
.footer-languages .language-button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:.3rem .65rem;border:1px solid currentColor;border-radius:3px;color:inherit;background:transparent;text-decoration:none;font-size:.85rem;line-height:1.6;opacity:.65;white-space:nowrap}
.footer-languages .language-button[aria-current=page]{opacity:1;font-weight:700;background:color-mix(in srgb,currentColor 8%,transparent)}
.footer-languages .language-button:hover,.footer-languages .language-button:focus-visible{opacity:1;outline:2px solid currentColor;outline-offset:2px}
html:not([lang=en]):not([lang=ru]) .language-switch{display:inline-flex;align-items:center;gap:.4rem;flex-shrink:0;font:12px system-ui,sans-serif;margin-inline-start:1rem}
html:not([lang=en]):not([lang=ru]) .language-switch a{color:inherit;text-decoration:none;opacity:.65;padding:.2rem}html:not([lang=en]):not([lang=ru]) .language-switch a[aria-current=page]{font-weight:800;opacity:1}
html[lang=zh-Hans] body{font-family:Inter,"Noto Sans SC","Noto Sans CJK SC","PingFang SC","Microsoft YaHei",system-ui,sans-serif}
html[lang=hi] body{font-family:"Noto Sans Devanagari",Inter,"Nirmala UI",system-ui,sans-serif}
html[lang=bn] body{font-family:"Noto Sans Bengali",Inter,"Nirmala UI",system-ui,sans-serif}
html[lang=ar] body,html[lang=ur] body{font-family:"Noto Naskh Arabic","Segoe UI",Tahoma,serif;line-height:1.9}
html:not([lang=en]):not([lang=ru]) .hero-title{font-family:inherit;line-height:1.2;letter-spacing:normal}
html[dir=rtl] .prose,html[dir=rtl] .media-list,html[dir=rtl] .section-head,html[dir=rtl] .work-item{text-align:start}
html[dir=rtl] .site-nav{margin-left:0;margin-inline-start:auto}
html[dir=rtl] .language-switch{margin-left:0;margin-inline-start:1rem;direction:ltr}
html[dir=rtl] .site-header .hamburger{margin-left:0;margin-inline-start:auto}
html[dir=rtl] .hero-inner{text-align:center}
html[dir=rtl] .media-list{padding-left:0;padding-inline-start:1.25rem}
html[dir=rtl] video,html[dir=rtl] iframe,html[dir=rtl] canvas,html[dir=rtl] .social-container{direction:ltr}
html[dir=rtl] .selectable,html[dir=rtl] a[href^="mailto:"],html[dir=rtl] a[href^="https://"]{unicode-bidi:plaintext}
html[dir=rtl] .about-body{padding-right:0;padding-inline-end:4px;text-align:start}
html[dir=rtl] .about-body ul{padding-left:0;padding-inline-start:1.15em}
html[dir=rtl] .menu-card button,html[dir=rtl] .cmd{text-align:start}
html[dir=rtl] .top-actions{margin-left:0;margin-inline-start:auto}
.game-language-footer{position:fixed;inset:auto 0 0;z-index:20;height:80px;overflow:auto;background:#1a2116;color:#e7efdc;border-top:1px solid #3c4a32}
.game-language-footer .footer-languages{margin:0 auto;padding:.35rem;font-size:12px}
.game-language-footer .language-button{min-height:28px;padding:.15rem .45rem;font-size:12px}
body:has(.game-language-footer) #app{height:calc(100% - 80px);min-height:0}
@media(max-width:480px){.footer-languages{gap:.35rem;padding:.25rem}.footer-languages .language-button{padding:.25rem .5rem}html:not([lang=en]):not([lang=ru]) .language-switch{margin-inline-start:.35rem}.game-language-footer{height:108px}body:has(.game-language-footer) #app{height:calc(100% - 108px)}}

@font-face{font-family:"LanguageLabels-devanagari";font-style:normal;font-weight:400;font-display:swap;src:url("/assets/fonts/language-labels-devanagari.ttf") format("truetype")}
@font-face{font-family:"LanguageLabels-bengali";font-style:normal;font-weight:400;font-display:swap;src:url("/assets/fonts/language-labels-bengali.ttf") format("truetype")}
@font-face{font-family:"LanguageLabels-arabic";font-style:normal;font-weight:400;font-display:swap;src:url("/assets/fonts/language-labels-arabic.ttf") format("truetype")}
@font-face{font-family:"LanguageLabels-chinese";font-style:normal;font-weight:400;font-display:swap;src:url("/assets/fonts/language-labels-chinese.ttf") format("truetype")}
.footer-languages .language-button[lang=hi]{font-family:"LanguageLabels-devanagari",system-ui,sans-serif}
.footer-languages .language-button[lang=bn]{font-family:"LanguageLabels-bengali",system-ui,sans-serif}
.footer-languages .language-button[lang=ar],.footer-languages .language-button[lang=ur]{font-family:"LanguageLabels-arabic",system-ui,sans-serif}
.footer-languages .language-button[lang=zh-Hans]{font-family:"LanguageLabels-chinese",system-ui,sans-serif}
