.mt-language-switcher {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 2147483000;
    font-family: Inter, Manrope, "Noto Sans", "Noto Sans SC", Arial, sans-serif;
    color: #111827;
}

.mt-language-switcher * {
    box-sizing: border-box;
}

.mt-language-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid rgba(15, 23, 42, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: #111827;
    box-shadow: 0 12px 34px rgba(15, 23, 42, .14);
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    backdrop-filter: blur(16px);
}

.mt-language-trigger:hover,
.mt-language-trigger:focus-visible {
    border-color: rgba(99, 102, 241, .48);
    box-shadow: 0 16px 40px rgba(99, 102, 241, .22);
    outline: none;
}

.mt-language-globe {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.mt-language-caret {
    font-size: 10px;
    opacity: .58;
}

.mt-language-menu {
    position: absolute;
    right: 0;
    bottom: calc(100% + 10px);
    width: 190px;
    display: none;
    padding: 8px;
    border: 1px solid rgba(148, 163, 184, .24);
    border-radius: 14px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 22px 60px rgba(15, 23, 42, .24);
    backdrop-filter: blur(18px);
}

.mt-language-switcher.open .mt-language-menu {
    display: block;
}

.mt-language-option {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 34px;
    padding: 8px 10px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #111827;
    cursor: pointer;
    text-align: left;
    font-size: 13px;
    font-weight: 750;
    letter-spacing: 0;
}

.mt-language-option:hover,
.mt-language-option:focus-visible {
    background: rgba(99, 102, 241, .09);
    outline: none;
}

.mt-language-option.active {
    background: #111827;
    color: #fff;
}

.mt-language-native {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mt-language-check {
    opacity: 0;
    font-size: 12px;
}

.mt-language-option.active .mt-language-check {
    opacity: 1;
}

@media (max-width: 720px) {
    .mt-language-switcher {
        right: 12px;
        bottom: 12px;
    }

    .mt-language-trigger {
        min-height: 36px;
        padding: 8px 10px;
        font-size: 12px;
    }

    .mt-language-menu {
        width: min(190px, calc(100vw - 24px));
    }
}

html[data-mt-lang="en"] body.ui-polished-creator .page-title::after,
html[data-mt-lang="en-NZ"] body.ui-polished-creator .page-title::after {
    content: "One workspace for prompts, references, generated results, and video shots" !important;
}
html[data-mt-lang="ja"] body.ui-polished-creator .page-title::after {
    content: "プロンプト、参照画像、生成結果、動画ショットをひとつの作業台で管理" !important;
}
html[data-mt-lang="de"] body.ui-polished-creator .page-title::after {
    content: "Ein Workspace für Prompts, Referenzen, Ergebnisse und Video-Shots" !important;
}
html[data-mt-lang="fr"] body.ui-polished-creator .page-title::after {
    content: "Un espace unique pour prompts, références, résultats et plans vidéo" !important;
}

html[data-mt-lang="en"] body.ui-polished-creator[data-active-tab="text2img"] .page-title::after,
html[data-mt-lang="en-NZ"] body.ui-polished-creator[data-active-tab="text2img"] .page-title::after {
    content: "Turn one prompt into images. Compare Seedream, Banana, GPT Image 2, and Midjourney side by side" !important;
}
html[data-mt-lang="en"] body.ui-polished-creator[data-active-tab="img2img"] .page-title::after,
html[data-mt-lang="en-NZ"] body.ui-polished-creator[data-active-tab="img2img"] .page-title::after {
    content: "Use reference images as anchors so AI keeps your visual direction, up to 9 images" !important;
}
html[data-mt-lang="en"] body.ui-polished-creator[data-active-tab="text2video"] .page-title::after,
html[data-mt-lang="en-NZ"] body.ui-polished-creator[data-active-tab="text2video"] .page-title::after {
    content: "Turn scripts into shootable video shots with mainstream video models" !important;
}
html[data-mt-lang="en"] body.ui-polished-creator[data-active-tab="img2video"] .page-title::after,
html[data-mt-lang="en-NZ"] body.ui-polished-creator[data-active-tab="img2video"] .page-title::after {
    content: "Use one image as the first frame and extend it into a cinematic shot" !important;
}
html[data-mt-lang="en"] body.ui-polished-creator[data-active-tab="canvas"] .page-title::after,
html[data-mt-lang="en-NZ"] body.ui-polished-creator[data-active-tab="canvas"] .page-title::after {
    content: "Arrange assets, prompts, and shot cards on a free canvas" !important;
}
html[data-mt-lang="en"] body.ui-polished-creator[data-active-tab="director"] .page-title::after,
html[data-mt-lang="en-NZ"] body.ui-polished-creator[data-active-tab="director"] .page-title::after {
    content: "Let the AI director split scripts into shots, camera rhythm, music, and sound effects" !important;
}
html[data-mt-lang="en"] body.ui-polished-creator[data-active-tab="workflow"] .page-title::after,
html[data-mt-lang="en-NZ"] body.ui-polished-creator[data-active-tab="workflow"] .page-title::after {
    content: "Batch multiple creation modes so one script moves from images to video" !important;
}

html[data-mt-lang="ja"] body.ui-polished-creator[data-active-tab="text2img"] .page-title::after { content: "1つのプロンプトから画像を生成。Seedream / Banana / GPT Image 2 / Midjourney を同時比較" !important; }
html[data-mt-lang="ja"] body.ui-polished-creator[data-active-tab="img2img"] .page-title::after { content: "参照画像を軸に、AI がビジュアル方向を維持して再制作。最大9枚対応" !important; }
html[data-mt-lang="ja"] body.ui-polished-creator[data-active-tab="text2video"] .page-title::after { content: "脚本を撮影可能な動画ショットへ。主要動画モデルを同時調度" !important; }
html[data-mt-lang="ja"] body.ui-polished-creator[data-active-tab="img2video"] .page-title::after { content: "1枚の画像を開始フレームにして、映画的なショットへ延展" !important; }
html[data-mt-lang="ja"] body.ui-polished-creator[data-active-tab="canvas"] .page-title::after { content: "自由なキャンバスで素材、プロンプト、ショットカードを整理" !important; }
html[data-mt-lang="ja"] body.ui-polished-creator[data-active-tab="director"] .page-title::after { content: "AI監督が脚本をショット、カメラリズム、音楽、効果音に分解" !important; }
html[data-mt-lang="ja"] body.ui-polished-creator[data-active-tab="workflow"] .page-title::after { content: "複数の制作モードを一括調度し、1つの脚本を画像から動画へ進行" !important; }

html[data-mt-lang="de"] body.ui-polished-creator[data-active-tab="text2img"] .page-title::after { content: "Aus einem Prompt Bilder erzeugen. Seedream, Banana, GPT Image 2 und Midjourney direkt vergleichen" !important; }
html[data-mt-lang="de"] body.ui-polished-creator[data-active-tab="img2img"] .page-title::after { content: "Referenzbilder als Anker nutzen, damit die KI die Bildrichtung beibehält, bis zu 9 Bilder" !important; }
html[data-mt-lang="de"] body.ui-polished-creator[data-active-tab="text2video"] .page-title::after { content: "Drehbücher in drehbare Video-Shots mit führenden Videomodellen verwandeln" !important; }
html[data-mt-lang="de"] body.ui-polished-creator[data-active-tab="img2video"] .page-title::after { content: "Ein Bild als Startframe nutzen und zu einem filmischen Shot erweitern" !important; }
html[data-mt-lang="de"] body.ui-polished-creator[data-active-tab="canvas"] .page-title::after { content: "Assets, Prompts und Shot-Karten auf einem freien Canvas arrangieren" !important; }
html[data-mt-lang="de"] body.ui-polished-creator[data-active-tab="director"] .page-title::after { content: "Der KI-Regisseur zerlegt Skripte in Shots, Kamerarhythmus, Musik und Soundeffekte" !important; }
html[data-mt-lang="de"] body.ui-polished-creator[data-active-tab="workflow"] .page-title::after { content: "Mehrere Kreativmodi stapelweise steuern, damit ein Skript von Bild zu Video läuft" !important; }

html[data-mt-lang="fr"] body.ui-polished-creator[data-active-tab="text2img"] .page-title::after { content: "Transformer un prompt en images. Comparer Seedream, Banana, GPT Image 2 et Midjourney côte à côte" !important; }
html[data-mt-lang="fr"] body.ui-polished-creator[data-active-tab="img2img"] .page-title::after { content: "Utiliser les références comme ancrage pour garder la direction visuelle, jusqu'à 9 images" !important; }
html[data-mt-lang="fr"] body.ui-polished-creator[data-active-tab="text2video"] .page-title::after { content: "Transformer les scripts en plans vidéo tournables avec les modèles vidéo majeurs" !important; }
html[data-mt-lang="fr"] body.ui-polished-creator[data-active-tab="img2video"] .page-title::after { content: "Utiliser une image comme première frame et l'étendre en plan cinéma" !important; }
html[data-mt-lang="fr"] body.ui-polished-creator[data-active-tab="canvas"] .page-title::after { content: "Organiser assets, prompts et fiches de plans sur un canevas libre" !important; }
html[data-mt-lang="fr"] body.ui-polished-creator[data-active-tab="director"] .page-title::after { content: "Le réalisateur IA découpe le script en plans, rythme caméra, musique et effets" !important; }
html[data-mt-lang="fr"] body.ui-polished-creator[data-active-tab="workflow"] .page-title::after { content: "Piloter plusieurs modes en lot pour passer d'un script aux images puis à la vidéo" !important; }

html[data-mt-lang="en"] body.ui-polished-creator[data-active-tab="text2img"] .t2i-form-group:has(> .t2i-textarea)::before,
html[data-mt-lang="en-NZ"] body.ui-polished-creator[data-active-tab="text2img"] .t2i-form-group:has(> .t2i-textarea)::before { content: "01 · Prompt" !important; }
html[data-mt-lang="en"] body.ui-polished-creator[data-active-tab="text2img"] .t2i-row:not([id*="AudioRow"])::before,
html[data-mt-lang="en-NZ"] body.ui-polished-creator[data-active-tab="text2img"] .t2i-row:not([id*="AudioRow"])::before { content: "02 · Settings" !important; }
html[data-mt-lang="en"] body.ui-polished-creator[data-active-tab="text2img"] .t2i-actions::before,
html[data-mt-lang="en-NZ"] body.ui-polished-creator[data-active-tab="text2img"] .t2i-actions::before { content: "03 · Generate" !important; }

html[data-mt-lang="en"] body.ui-polished-creator[data-active-tab="img2img"] .upload-area-multi::before,
html[data-mt-lang="en-NZ"] body.ui-polished-creator[data-active-tab="img2img"] .upload-area-multi::before { content: "01 · References" !important; }
html[data-mt-lang="en"] body.ui-polished-creator[data-active-tab="img2img"] .t2i-form-group:has(> .t2i-textarea)::before,
html[data-mt-lang="en-NZ"] body.ui-polished-creator[data-active-tab="img2img"] .t2i-form-group:has(> .t2i-textarea)::before { content: "02 · Edit Prompt" !important; }
html[data-mt-lang="en"] body.ui-polished-creator[data-active-tab="img2img"] .t2i-row:not([id*="AudioRow"])::before,
html[data-mt-lang="en-NZ"] body.ui-polished-creator[data-active-tab="img2img"] .t2i-row:not([id*="AudioRow"])::before { content: "03 · Settings" !important; }
html[data-mt-lang="en"] body.ui-polished-creator[data-active-tab="img2img"] .t2i-actions::before,
html[data-mt-lang="en-NZ"] body.ui-polished-creator[data-active-tab="img2img"] .t2i-actions::before { content: "04 · Generate" !important; }

html[data-mt-lang="en"] body.ui-polished-creator[data-active-tab="text2video"] .t2i-form-group:has(> .t2i-textarea)::before,
html[data-mt-lang="en-NZ"] body.ui-polished-creator[data-active-tab="text2video"] .t2i-form-group:has(> .t2i-textarea)::before { content: "01 · Prompt" !important; }
html[data-mt-lang="en"] body.ui-polished-creator[data-active-tab="text2video"] .t2i-row:not([id*="AudioRow"])::before,
html[data-mt-lang="en-NZ"] body.ui-polished-creator[data-active-tab="text2video"] .t2i-row:not([id*="AudioRow"])::before { content: "02 · Settings" !important; }
html[data-mt-lang="en"] body.ui-polished-creator[data-active-tab="text2video"] [id*="AudioRow"]::before,
html[data-mt-lang="en-NZ"] body.ui-polished-creator[data-active-tab="text2video"] [id*="AudioRow"]::before { content: "03 · Audio" !important; }
html[data-mt-lang="en"] body.ui-polished-creator[data-active-tab="text2video"] .t2i-actions::before,
html[data-mt-lang="en-NZ"] body.ui-polished-creator[data-active-tab="text2video"] .t2i-actions::before { content: "04 · Generate" !important; }

html[data-mt-lang="en"] body.ui-polished-creator[data-active-tab="img2video"] .upload-area-multi::before,
html[data-mt-lang="en-NZ"] body.ui-polished-creator[data-active-tab="img2video"] .upload-area-multi::before { content: "01 · First Frame" !important; }
html[data-mt-lang="en"] body.ui-polished-creator[data-active-tab="img2video"] .t2i-form-group:has(> .t2i-textarea)::before,
html[data-mt-lang="en-NZ"] body.ui-polished-creator[data-active-tab="img2video"] .t2i-form-group:has(> .t2i-textarea)::before { content: "02 · Motion Prompt" !important; }
html[data-mt-lang="en"] body.ui-polished-creator[data-active-tab="img2video"] .t2i-row:not([id*="AudioRow"])::before,
html[data-mt-lang="en-NZ"] body.ui-polished-creator[data-active-tab="img2video"] .t2i-row:not([id*="AudioRow"])::before { content: "03 · Settings" !important; }
html[data-mt-lang="en"] body.ui-polished-creator[data-active-tab="img2video"] [id*="AudioRow"]::before,
html[data-mt-lang="en-NZ"] body.ui-polished-creator[data-active-tab="img2video"] [id*="AudioRow"]::before { content: "04 · Audio" !important; }
html[data-mt-lang="en"] body.ui-polished-creator[data-active-tab="img2video"] .t2i-actions::before,
html[data-mt-lang="en-NZ"] body.ui-polished-creator[data-active-tab="img2video"] .t2i-actions::before { content: "05 · Generate" !important; }

html[data-mt-lang="ja"] body.ui-polished-creator[data-active-tab="text2img"] .t2i-form-group:has(> .t2i-textarea)::before { content: "01 · プロンプト" !important; }
html[data-mt-lang="ja"] body.ui-polished-creator[data-active-tab="text2img"] .t2i-row:not([id*="AudioRow"])::before { content: "02 · 設定" !important; }
html[data-mt-lang="ja"] body.ui-polished-creator[data-active-tab="text2img"] .t2i-actions::before { content: "03 · 生成" !important; }
html[data-mt-lang="ja"] body.ui-polished-creator[data-active-tab="img2img"] .upload-area-multi::before { content: "01 · 参照画像" !important; }
html[data-mt-lang="ja"] body.ui-polished-creator[data-active-tab="img2img"] .t2i-form-group:has(> .t2i-textarea)::before { content: "02 · 編集プロンプト" !important; }
html[data-mt-lang="ja"] body.ui-polished-creator[data-active-tab="img2img"] .t2i-row:not([id*="AudioRow"])::before { content: "03 · 設定" !important; }
html[data-mt-lang="ja"] body.ui-polished-creator[data-active-tab="img2img"] .t2i-actions::before { content: "04 · 生成" !important; }
html[data-mt-lang="ja"] body.ui-polished-creator[data-active-tab="text2video"] .t2i-form-group:has(> .t2i-textarea)::before { content: "01 · プロンプト" !important; }
html[data-mt-lang="ja"] body.ui-polished-creator[data-active-tab="text2video"] .t2i-row:not([id*="AudioRow"])::before { content: "02 · 設定" !important; }
html[data-mt-lang="ja"] body.ui-polished-creator[data-active-tab="text2video"] [id*="AudioRow"]::before { content: "03 · 音声" !important; }
html[data-mt-lang="ja"] body.ui-polished-creator[data-active-tab="text2video"] .t2i-actions::before { content: "04 · 生成" !important; }
html[data-mt-lang="ja"] body.ui-polished-creator[data-active-tab="img2video"] .upload-area-multi::before { content: "01 · 開始フレーム" !important; }
html[data-mt-lang="ja"] body.ui-polished-creator[data-active-tab="img2video"] .t2i-form-group:has(> .t2i-textarea)::before { content: "02 · 動きプロンプト" !important; }
html[data-mt-lang="ja"] body.ui-polished-creator[data-active-tab="img2video"] .t2i-row:not([id*="AudioRow"])::before { content: "03 · 設定" !important; }
html[data-mt-lang="ja"] body.ui-polished-creator[data-active-tab="img2video"] [id*="AudioRow"]::before { content: "04 · 音声" !important; }
html[data-mt-lang="ja"] body.ui-polished-creator[data-active-tab="img2video"] .t2i-actions::before { content: "05 · 生成" !important; }

html[data-mt-lang="de"] body.ui-polished-creator[data-active-tab="text2img"] .t2i-form-group:has(> .t2i-textarea)::before { content: "01 · Prompt" !important; }
html[data-mt-lang="de"] body.ui-polished-creator[data-active-tab="text2img"] .t2i-row:not([id*="AudioRow"])::before { content: "02 · Einstellungen" !important; }
html[data-mt-lang="de"] body.ui-polished-creator[data-active-tab="text2img"] .t2i-actions::before { content: "03 · Generieren" !important; }
html[data-mt-lang="de"] body.ui-polished-creator[data-active-tab="img2img"] .upload-area-multi::before { content: "01 · Referenzen" !important; }
html[data-mt-lang="de"] body.ui-polished-creator[data-active-tab="img2img"] .t2i-form-group:has(> .t2i-textarea)::before { content: "02 · Edit-Prompt" !important; }
html[data-mt-lang="de"] body.ui-polished-creator[data-active-tab="img2img"] .t2i-row:not([id*="AudioRow"])::before { content: "03 · Einstellungen" !important; }
html[data-mt-lang="de"] body.ui-polished-creator[data-active-tab="img2img"] .t2i-actions::before { content: "04 · Generieren" !important; }
html[data-mt-lang="de"] body.ui-polished-creator[data-active-tab="text2video"] .t2i-form-group:has(> .t2i-textarea)::before { content: "01 · Prompt" !important; }
html[data-mt-lang="de"] body.ui-polished-creator[data-active-tab="text2video"] .t2i-row:not([id*="AudioRow"])::before { content: "02 · Einstellungen" !important; }
html[data-mt-lang="de"] body.ui-polished-creator[data-active-tab="text2video"] [id*="AudioRow"]::before { content: "03 · Audio" !important; }
html[data-mt-lang="de"] body.ui-polished-creator[data-active-tab="text2video"] .t2i-actions::before { content: "04 · Generieren" !important; }
html[data-mt-lang="de"] body.ui-polished-creator[data-active-tab="img2video"] .upload-area-multi::before { content: "01 · Startframe" !important; }
html[data-mt-lang="de"] body.ui-polished-creator[data-active-tab="img2video"] .t2i-form-group:has(> .t2i-textarea)::before { content: "02 · Bewegungs-Prompt" !important; }
html[data-mt-lang="de"] body.ui-polished-creator[data-active-tab="img2video"] .t2i-row:not([id*="AudioRow"])::before { content: "03 · Einstellungen" !important; }
html[data-mt-lang="de"] body.ui-polished-creator[data-active-tab="img2video"] [id*="AudioRow"]::before { content: "04 · Audio" !important; }
html[data-mt-lang="de"] body.ui-polished-creator[data-active-tab="img2video"] .t2i-actions::before { content: "05 · Generieren" !important; }

html[data-mt-lang="fr"] body.ui-polished-creator[data-active-tab="text2img"] .t2i-form-group:has(> .t2i-textarea)::before { content: "01 · Prompt" !important; }
html[data-mt-lang="fr"] body.ui-polished-creator[data-active-tab="text2img"] .t2i-row:not([id*="AudioRow"])::before { content: "02 · Paramètres" !important; }
html[data-mt-lang="fr"] body.ui-polished-creator[data-active-tab="text2img"] .t2i-actions::before { content: "03 · Générer" !important; }
html[data-mt-lang="fr"] body.ui-polished-creator[data-active-tab="img2img"] .upload-area-multi::before { content: "01 · Références" !important; }
html[data-mt-lang="fr"] body.ui-polished-creator[data-active-tab="img2img"] .t2i-form-group:has(> .t2i-textarea)::before { content: "02 · Prompt d'édition" !important; }
html[data-mt-lang="fr"] body.ui-polished-creator[data-active-tab="img2img"] .t2i-row:not([id*="AudioRow"])::before { content: "03 · Paramètres" !important; }
html[data-mt-lang="fr"] body.ui-polished-creator[data-active-tab="img2img"] .t2i-actions::before { content: "04 · Générer" !important; }
html[data-mt-lang="fr"] body.ui-polished-creator[data-active-tab="text2video"] .t2i-form-group:has(> .t2i-textarea)::before { content: "01 · Prompt" !important; }
html[data-mt-lang="fr"] body.ui-polished-creator[data-active-tab="text2video"] .t2i-row:not([id*="AudioRow"])::before { content: "02 · Paramètres" !important; }
html[data-mt-lang="fr"] body.ui-polished-creator[data-active-tab="text2video"] [id*="AudioRow"]::before { content: "03 · Audio" !important; }
html[data-mt-lang="fr"] body.ui-polished-creator[data-active-tab="text2video"] .t2i-actions::before { content: "04 · Générer" !important; }
html[data-mt-lang="fr"] body.ui-polished-creator[data-active-tab="img2video"] .upload-area-multi::before { content: "01 · Première image" !important; }
html[data-mt-lang="fr"] body.ui-polished-creator[data-active-tab="img2video"] .t2i-form-group:has(> .t2i-textarea)::before { content: "02 · Prompt mouvement" !important; }
html[data-mt-lang="fr"] body.ui-polished-creator[data-active-tab="img2video"] .t2i-row:not([id*="AudioRow"])::before { content: "03 · Paramètres" !important; }
html[data-mt-lang="fr"] body.ui-polished-creator[data-active-tab="img2video"] [id*="AudioRow"]::before { content: "04 · Audio" !important; }
html[data-mt-lang="fr"] body.ui-polished-creator[data-active-tab="img2video"] .t2i-actions::before { content: "05 · Générer" !important; }
