/* The 13-language picker now uses a styled custom listbox. See avaclik-header-controls.css. */
/* Long labels and CJK scripts must not overflow tool and billing cards. */
#fotor-root .rail-label,#fotor-root .ai-hair-title,#fotor-root .mobile-preset-card,#fotor-root .sg-looks-title-text,.avt-dialog button{overflow-wrap:anywhere}

/* All 10 additional locales: labels generated from the shared editor dictionary. */
html[data-sg-editor-lang="es"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="agent"] .rail-label::after{content:"Texto para IA"!important}
html[data-sg-editor-lang="es"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="popular"] .rail-label::after{content:"Herramientas"!important}
html[data-sg-editor-lang="es"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="appearance"] .rail-label::after{content:"Apariencia"!important}
html[data-sg-editor-lang="es"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="scene"] .rail-label::after{content:"Escena"!important}
html[data-sg-editor-lang="es"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="effects"] .rail-label::after{content:"Estilos"!important}
html[data-sg-editor-lang="es"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="ai-text-image"] .rail-label::after{content:"Crear"!important}
html[data-sg-editor-lang="es"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="free"] .rail-label::after{content:"FREE"!important}
html[data-sg-editor-lang="es"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="adult"] .rail-label::after{content:"18+"!important}
html[data-sg-editor-lang="es"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="sales"] .rail-label::after{content:"Ventas"!important}
html[data-sg-editor-lang="es"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="design"] .rail-label::after{content:"Diseño"!important}
html[data-sg-editor-lang="es"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="adjust"] .rail-label::after{content:"Ajustes"!important}
html[lang="es"] #fotor-root .editor-shell.is-mobile:has(.left-panel--tool-remove-bg) .mtool-top-controls[data-sg-tool-title]::before{content:"Eliminar fondo"!important}
html[lang="es"] #fotor-root .editor-shell.is-mobile:has(.left-panel--tool-upscale) .mtool-top-controls[data-sg-tool-title]::before{content:"Calidad"!important}
html[lang="es"] #fotor-root .editor-shell.is-mobile .left-panel--tool-upscale .m-native-block::before{content:"Resolución"!important}
html[lang="es"] #fotor-root .editor-shell.is-mobile .left-panel--tool-upscale .m-native-block::before{content:"Resolución"!important}
html[data-sg-editor-lang="pt-br"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="agent"] .rail-label::after{content:"Prompt de IA"!important}
html[data-sg-editor-lang="pt-br"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="popular"] .rail-label::after{content:"Ferramentas"!important}
html[data-sg-editor-lang="pt-br"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="appearance"] .rail-label::after{content:"Aparência"!important}
html[data-sg-editor-lang="pt-br"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="scene"] .rail-label::after{content:"Cena"!important}
html[data-sg-editor-lang="pt-br"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="effects"] .rail-label::after{content:"Estilos"!important}
html[data-sg-editor-lang="pt-br"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="ai-text-image"] .rail-label::after{content:"Criar"!important}
html[data-sg-editor-lang="pt-br"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="free"] .rail-label::after{content:"FREE"!important}
html[data-sg-editor-lang="pt-br"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="adult"] .rail-label::after{content:"18+"!important}
html[data-sg-editor-lang="pt-br"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="sales"] .rail-label::after{content:"Vendas"!important}
html[data-sg-editor-lang="pt-br"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="design"] .rail-label::after{content:"Design"!important}
html[data-sg-editor-lang="pt-br"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="adjust"] .rail-label::after{content:"Ajustes"!important}
html[lang="pt-br"] #fotor-root .editor-shell.is-mobile:has(.left-panel--tool-remove-bg) .mtool-top-controls[data-sg-tool-title]::before{content:"Remover fundo"!important}
html[lang="pt-br"] #fotor-root .editor-shell.is-mobile:has(.left-panel--tool-upscale) .mtool-top-controls[data-sg-tool-title]::before{content:"Qualidade"!important}
html[lang="pt-br"] #fotor-root .editor-shell.is-mobile .left-panel--tool-upscale .m-native-block::before{content:"Resolução"!important}
html[lang="pt-br"] #fotor-root .editor-shell.is-mobile .left-panel--tool-upscale .m-native-block::before{content:"Resolução"!important}
html[data-sg-editor-lang="de"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="agent"] .rail-label::after{content:"KI-Anweisung"!important}
html[data-sg-editor-lang="de"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="popular"] .rail-label::after{content:"Werkzeuge"!important}
html[data-sg-editor-lang="de"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="appearance"] .rail-label::after{content:"Aussehen"!important}
html[data-sg-editor-lang="de"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="scene"] .rail-label::after{content:"Szene"!important}
html[data-sg-editor-lang="de"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="effects"] .rail-label::after{content:"Stile"!important}
html[data-sg-editor-lang="de"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="ai-text-image"] .rail-label::after{content:"Erstellen"!important}
html[data-sg-editor-lang="de"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="free"] .rail-label::after{content:"FREE"!important}
html[data-sg-editor-lang="de"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="adult"] .rail-label::after{content:"18+"!important}
html[data-sg-editor-lang="de"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="sales"] .rail-label::after{content:"Verkauf"!important}
html[data-sg-editor-lang="de"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="design"] .rail-label::after{content:"Design"!important}
html[data-sg-editor-lang="de"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="adjust"] .rail-label::after{content:"Anpassen"!important}
html[lang="de"] #fotor-root .editor-shell.is-mobile:has(.left-panel--tool-remove-bg) .mtool-top-controls[data-sg-tool-title]::before{content:"Hintergrund entfernen"!important}
html[lang="de"] #fotor-root .editor-shell.is-mobile:has(.left-panel--tool-upscale) .mtool-top-controls[data-sg-tool-title]::before{content:"Qualität"!important}
html[lang="de"] #fotor-root .editor-shell.is-mobile .left-panel--tool-upscale .m-native-block::before{content:"Auflösung"!important}
html[lang="de"] #fotor-root .editor-shell.is-mobile .left-panel--tool-upscale .m-native-block::before{content:"Auflösung"!important}
html[data-sg-editor-lang="fr"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="agent"] .rail-label::after{content:"Consigne IA"!important}
html[data-sg-editor-lang="fr"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="popular"] .rail-label::after{content:"Outils"!important}
html[data-sg-editor-lang="fr"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="appearance"] .rail-label::after{content:"Apparence"!important}
html[data-sg-editor-lang="fr"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="scene"] .rail-label::after{content:"Scène"!important}
html[data-sg-editor-lang="fr"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="effects"] .rail-label::after{content:"Styles"!important}
html[data-sg-editor-lang="fr"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="ai-text-image"] .rail-label::after{content:"Créer"!important}
html[data-sg-editor-lang="fr"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="free"] .rail-label::after{content:"FREE"!important}
html[data-sg-editor-lang="fr"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="adult"] .rail-label::after{content:"18+"!important}
html[data-sg-editor-lang="fr"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="sales"] .rail-label::after{content:"Ventes"!important}
html[data-sg-editor-lang="fr"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="design"] .rail-label::after{content:"Design"!important}
html[data-sg-editor-lang="fr"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="adjust"] .rail-label::after{content:"Retouches"!important}
html[lang="fr"] #fotor-root .editor-shell.is-mobile:has(.left-panel--tool-remove-bg) .mtool-top-controls[data-sg-tool-title]::before{content:"Supprimer l'arrière-plan"!important}
html[lang="fr"] #fotor-root .editor-shell.is-mobile:has(.left-panel--tool-upscale) .mtool-top-controls[data-sg-tool-title]::before{content:"Qualité"!important}
html[lang="fr"] #fotor-root .editor-shell.is-mobile .left-panel--tool-upscale .m-native-block::before{content:"Résolution"!important}
html[lang="fr"] #fotor-root .editor-shell.is-mobile .left-panel--tool-upscale .m-native-block::before{content:"Résolution"!important}
html[data-sg-editor-lang="pl"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="agent"] .rail-label::after{content:"Polecenie AI"!important}
html[data-sg-editor-lang="pl"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="popular"] .rail-label::after{content:"Narzędzia"!important}
html[data-sg-editor-lang="pl"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="appearance"] .rail-label::after{content:"Wygląd"!important}
html[data-sg-editor-lang="pl"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="scene"] .rail-label::after{content:"Scena"!important}
html[data-sg-editor-lang="pl"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="effects"] .rail-label::after{content:"Style"!important}
html[data-sg-editor-lang="pl"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="ai-text-image"] .rail-label::after{content:"Twórz"!important}
html[data-sg-editor-lang="pl"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="free"] .rail-label::after{content:"FREE"!important}
html[data-sg-editor-lang="pl"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="adult"] .rail-label::after{content:"18+"!important}
html[data-sg-editor-lang="pl"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="sales"] .rail-label::after{content:"Sprzedaż"!important}
html[data-sg-editor-lang="pl"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="design"] .rail-label::after{content:"Projekt"!important}
html[data-sg-editor-lang="pl"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="adjust"] .rail-label::after{content:"Korekta"!important}
html[lang="pl"] #fotor-root .editor-shell.is-mobile:has(.left-panel--tool-remove-bg) .mtool-top-controls[data-sg-tool-title]::before{content:"Usuń tło"!important}
html[lang="pl"] #fotor-root .editor-shell.is-mobile:has(.left-panel--tool-upscale) .mtool-top-controls[data-sg-tool-title]::before{content:"Jakość"!important}
html[lang="pl"] #fotor-root .editor-shell.is-mobile .left-panel--tool-upscale .m-native-block::before{content:"Rozdzielczość"!important}
html[lang="pl"] #fotor-root .editor-shell.is-mobile .left-panel--tool-upscale .m-native-block::before{content:"Rozdzielczość"!important}
html[data-sg-editor-lang="it"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="agent"] .rail-label::after{content:"Prompt IA"!important}
html[data-sg-editor-lang="it"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="popular"] .rail-label::after{content:"Strumenti"!important}
html[data-sg-editor-lang="it"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="appearance"] .rail-label::after{content:"Aspetto"!important}
html[data-sg-editor-lang="it"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="scene"] .rail-label::after{content:"Scena"!important}
html[data-sg-editor-lang="it"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="effects"] .rail-label::after{content:"Stili"!important}
html[data-sg-editor-lang="it"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="ai-text-image"] .rail-label::after{content:"Crea"!important}
html[data-sg-editor-lang="it"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="free"] .rail-label::after{content:"FREE"!important}
html[data-sg-editor-lang="it"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="adult"] .rail-label::after{content:"18+"!important}
html[data-sg-editor-lang="it"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="sales"] .rail-label::after{content:"Vendite"!important}
html[data-sg-editor-lang="it"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="design"] .rail-label::after{content:"Design"!important}
html[data-sg-editor-lang="it"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="adjust"] .rail-label::after{content:"Regola"!important}
html[lang="it"] #fotor-root .editor-shell.is-mobile:has(.left-panel--tool-remove-bg) .mtool-top-controls[data-sg-tool-title]::before{content:"Rimuovi sfondo"!important}
html[lang="it"] #fotor-root .editor-shell.is-mobile:has(.left-panel--tool-upscale) .mtool-top-controls[data-sg-tool-title]::before{content:"Qualità"!important}
html[lang="it"] #fotor-root .editor-shell.is-mobile .left-panel--tool-upscale .m-native-block::before{content:"Risoluzione"!important}
html[lang="it"] #fotor-root .editor-shell.is-mobile .left-panel--tool-upscale .m-native-block::before{content:"Risoluzione"!important}
html[data-sg-editor-lang="tr"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="agent"] .rail-label::after{content:"Yapay zekâ komutu"!important}
html[data-sg-editor-lang="tr"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="popular"] .rail-label::after{content:"Araçlar"!important}
html[data-sg-editor-lang="tr"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="appearance"] .rail-label::after{content:"Görünüm"!important}
html[data-sg-editor-lang="tr"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="scene"] .rail-label::after{content:"Sahne"!important}
html[data-sg-editor-lang="tr"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="effects"] .rail-label::after{content:"Stiller"!important}
html[data-sg-editor-lang="tr"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="ai-text-image"] .rail-label::after{content:"Oluştur"!important}
html[data-sg-editor-lang="tr"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="free"] .rail-label::after{content:"FREE"!important}
html[data-sg-editor-lang="tr"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="adult"] .rail-label::after{content:"18+"!important}
html[data-sg-editor-lang="tr"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="sales"] .rail-label::after{content:"Satışlar"!important}
html[data-sg-editor-lang="tr"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="design"] .rail-label::after{content:"Tasarım"!important}
html[data-sg-editor-lang="tr"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="adjust"] .rail-label::after{content:"Ayarla"!important}
html[lang="tr"] #fotor-root .editor-shell.is-mobile:has(.left-panel--tool-remove-bg) .mtool-top-controls[data-sg-tool-title]::before{content:"Arka planı kaldır"!important}
html[lang="tr"] #fotor-root .editor-shell.is-mobile:has(.left-panel--tool-upscale) .mtool-top-controls[data-sg-tool-title]::before{content:"Kalite"!important}
html[lang="tr"] #fotor-root .editor-shell.is-mobile .left-panel--tool-upscale .m-native-block::before{content:"Çözünürlük"!important}
html[lang="tr"] #fotor-root .editor-shell.is-mobile .left-panel--tool-upscale .m-native-block::before{content:"Çözünürlük"!important}
html[data-sg-editor-lang="id"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="agent"] .rail-label::after{content:"Prompt AI"!important}
html[data-sg-editor-lang="id"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="popular"] .rail-label::after{content:"Alat"!important}
html[data-sg-editor-lang="id"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="appearance"] .rail-label::after{content:"Penampilan"!important}
html[data-sg-editor-lang="id"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="scene"] .rail-label::after{content:"Adegan"!important}
html[data-sg-editor-lang="id"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="effects"] .rail-label::after{content:"Gaya"!important}
html[data-sg-editor-lang="id"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="ai-text-image"] .rail-label::after{content:"Buat"!important}
html[data-sg-editor-lang="id"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="free"] .rail-label::after{content:"FREE"!important}
html[data-sg-editor-lang="id"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="adult"] .rail-label::after{content:"18+"!important}
html[data-sg-editor-lang="id"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="sales"] .rail-label::after{content:"Penjualan"!important}
html[data-sg-editor-lang="id"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="design"] .rail-label::after{content:"Desain"!important}
html[data-sg-editor-lang="id"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="adjust"] .rail-label::after{content:"Sesuaikan"!important}
html[lang="id"] #fotor-root .editor-shell.is-mobile:has(.left-panel--tool-remove-bg) .mtool-top-controls[data-sg-tool-title]::before{content:"Hapus latar belakang"!important}
html[lang="id"] #fotor-root .editor-shell.is-mobile:has(.left-panel--tool-upscale) .mtool-top-controls[data-sg-tool-title]::before{content:"Kualitas"!important}
html[lang="id"] #fotor-root .editor-shell.is-mobile .left-panel--tool-upscale .m-native-block::before{content:"Resolusi"!important}
html[lang="id"] #fotor-root .editor-shell.is-mobile .left-panel--tool-upscale .m-native-block::before{content:"Resolusi"!important}
html[data-sg-editor-lang="ja"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="agent"] .rail-label::after{content:"AIプロンプト"!important}
html[data-sg-editor-lang="ja"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="popular"] .rail-label::after{content:"ツール"!important}
html[data-sg-editor-lang="ja"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="appearance"] .rail-label::after{content:"外見"!important}
html[data-sg-editor-lang="ja"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="scene"] .rail-label::after{content:"シーン"!important}
html[data-sg-editor-lang="ja"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="effects"] .rail-label::after{content:"スタイル"!important}
html[data-sg-editor-lang="ja"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="ai-text-image"] .rail-label::after{content:"作成"!important}
html[data-sg-editor-lang="ja"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="free"] .rail-label::after{content:"FREE"!important}
html[data-sg-editor-lang="ja"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="adult"] .rail-label::after{content:"18+"!important}
html[data-sg-editor-lang="ja"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="sales"] .rail-label::after{content:"販売"!important}
html[data-sg-editor-lang="ja"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="design"] .rail-label::after{content:"デザイン"!important}
html[data-sg-editor-lang="ja"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="adjust"] .rail-label::after{content:"調整"!important}
html[lang="ja"] #fotor-root .editor-shell.is-mobile:has(.left-panel--tool-remove-bg) .mtool-top-controls[data-sg-tool-title]::before{content:"背景を削除"!important}
html[lang="ja"] #fotor-root .editor-shell.is-mobile:has(.left-panel--tool-upscale) .mtool-top-controls[data-sg-tool-title]::before{content:"品質"!important}
html[lang="ja"] #fotor-root .editor-shell.is-mobile .left-panel--tool-upscale .m-native-block::before{content:"解像度"!important}
html[lang="ja"] #fotor-root .editor-shell.is-mobile .left-panel--tool-upscale .m-native-block::before{content:"解像度"!important}
html[data-sg-editor-lang="ko"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="agent"] .rail-label::after{content:"AI 프롬프트"!important}
html[data-sg-editor-lang="ko"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="popular"] .rail-label::after{content:"도구"!important}
html[data-sg-editor-lang="ko"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="appearance"] .rail-label::after{content:"외모"!important}
html[data-sg-editor-lang="ko"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="scene"] .rail-label::after{content:"장면"!important}
html[data-sg-editor-lang="ko"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="effects"] .rail-label::after{content:"스타일"!important}
html[data-sg-editor-lang="ko"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="ai-text-image"] .rail-label::after{content:"만들기"!important}
html[data-sg-editor-lang="ko"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="free"] .rail-label::after{content:"FREE"!important}
html[data-sg-editor-lang="ko"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="adult"] .rail-label::after{content:"18+"!important}
html[data-sg-editor-lang="ko"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="sales"] .rail-label::after{content:"판매"!important}
html[data-sg-editor-lang="ko"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="design"] .rail-label::after{content:"디자인"!important}
html[data-sg-editor-lang="ko"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="adjust"] .rail-label::after{content:"조정"!important}
html[lang="ko"] #fotor-root .editor-shell.is-mobile:has(.left-panel--tool-remove-bg) .mtool-top-controls[data-sg-tool-title]::before{content:"배경 제거"!important}
html[lang="ko"] #fotor-root .editor-shell.is-mobile:has(.left-panel--tool-upscale) .mtool-top-controls[data-sg-tool-title]::before{content:"품질"!important}
html[lang="ko"] #fotor-root .editor-shell.is-mobile .left-panel--tool-upscale .m-native-block::before{content:"해상도"!important}
html[lang="ko"] #fotor-root .editor-shell.is-mobile .left-panel--tool-upscale .m-native-block::before{content:"해상도"!important}

/* Prefer the 13-language control only after it actually mounts. Native 3-language
   React navigation remains available until then, avoiding an inaccessible header. */
#fotor-root .esg-topbar__right.ava-i18n-has-picker .esg-lang,
.esg-topbar__right.ava-i18n-has-picker .esg-lang{display:none!important}
#fotor-root .esg-topbar__right.ava-i18n-has-picker{min-width:0}
@media(max-width:520px){
  #fotor-root .esg-topbar__right.ava-i18n-has-picker{gap:3px!important}
}

/* v0.5.55: The right-hand gallery title is painted by legacy ::before CSS. */
html[lang="es"] #fotor-root .editor-shell:not(.is-mobile) .right-gallery .rg-header::before{content:"Imágenes"!important}
html[lang="pt-br"] #fotor-root .editor-shell:not(.is-mobile) .right-gallery .rg-header::before{content:"Imagens"!important}
html[lang="de"] #fotor-root .editor-shell:not(.is-mobile) .right-gallery .rg-header::before{content:"Bilder"!important}
html[lang="fr"] #fotor-root .editor-shell:not(.is-mobile) .right-gallery .rg-header::before{content:"Images"!important}
html[lang="pl"] #fotor-root .editor-shell:not(.is-mobile) .right-gallery .rg-header::before{content:"Obrazy"!important}
html[lang="it"] #fotor-root .editor-shell:not(.is-mobile) .right-gallery .rg-header::before{content:"Immagini"!important}
html[lang="tr"] #fotor-root .editor-shell:not(.is-mobile) .right-gallery .rg-header::before{content:"Görseller"!important}
html[lang="id"] #fotor-root .editor-shell:not(.is-mobile) .right-gallery .rg-header::before{content:"Gambar"!important}
html[lang="ja"] #fotor-root .editor-shell:not(.is-mobile) .right-gallery .rg-header::before{content:"画像"!important}
html[lang="ko"] #fotor-root .editor-shell:not(.is-mobile) .right-gallery .rg-header::before{content:"이미지"!important}
