/* 1.0.314 — desktop navigation labels without replacing React text nodes. */
@media (min-width: 769px) {
  #fotor-root .editor-shell:not(.is-mobile) .left-rail .rail-btn[data-section] .rail-label {
    overflow: visible !important;
    font-size: 0 !important;
    line-height: 1.1 !important;
    white-space: normal !important;
  }

  #fotor-root .editor-shell:not(.is-mobile) .left-rail .rail-btn[data-section] .rail-label::after {
    display: block !important;
    color: inherit !important;
    font-size: 9px !important;
    font-weight: 650 !important;
    line-height: 1.1 !important;
    text-align: center !important;
  }

  #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="agent"] .rail-label::after { content: "AI по описанию" !important; }
  #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="popular"] .rail-label::after { content: "Инструменты" !important; }
  #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="appearance"] .rail-label::after { content: "Внешность" !important; }
  #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="scene"] .rail-label::after { content: "Сцена" !important; }
  #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="effects"] .rail-label::after { content: "Стили" !important; }
  #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="ai-text-image"] .rail-label::after { content: "Создать" !important; }
  #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="free"] .rail-label::after { content: "FREE" !important; }
  #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="adult"] .rail-label::after { content: "18+" !important; }
  #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="sales"] .rail-label::after { content: "Продажи" !important; }
  #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="design"] .rail-label::after { content: "Дизайн" !important; }
  #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="adjust"] .rail-label::after { content: "Коррекция" !important; }

  html[data-sg-editor-lang="en"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="agent"] .rail-label::after { content: "AI prompt" !important; }
  html[data-sg-editor-lang="en"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="popular"] .rail-label::after { content: "Tools" !important; }
  html[data-sg-editor-lang="en"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="appearance"] .rail-label::after { content: "Appearance" !important; }
  html[data-sg-editor-lang="en"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="scene"] .rail-label::after { content: "Scene" !important; }
  html[data-sg-editor-lang="en"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="effects"] .rail-label::after { content: "Styles" !important; }
  html[data-sg-editor-lang="en"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="ai-text-image"] .rail-label::after { content: "Create" !important; }
  html[data-sg-editor-lang="en"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="free"] .rail-label::after { content: "FREE" !important; }
  html[data-sg-editor-lang="en"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="adult"] .rail-label::after { content: "18+" !important; }
  html[data-sg-editor-lang="en"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="sales"] .rail-label::after { content: "Sales" !important; }
  html[data-sg-editor-lang="en"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="design"] .rail-label::after { content: "Design" !important; }
  html[data-sg-editor-lang="en"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="adjust"] .rail-label::after { content: "Adjust" !important; }

  html[data-sg-editor-lang="uk"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="agent"] .rail-label::after { content: "AI за описом" !important; }
  html[data-sg-editor-lang="uk"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="popular"] .rail-label::after { content: "Інструменти" !important; }
  html[data-sg-editor-lang="uk"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="appearance"] .rail-label::after { content: "Зовнішність" !important; }
  html[data-sg-editor-lang="uk"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="scene"] .rail-label::after { content: "Сцена" !important; }
  html[data-sg-editor-lang="uk"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="effects"] .rail-label::after { content: "Стилі" !important; }
  html[data-sg-editor-lang="uk"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="ai-text-image"] .rail-label::after { content: "Створити" !important; }
  html[data-sg-editor-lang="uk"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="free"] .rail-label::after { content: "FREE" !important; }
  html[data-sg-editor-lang="uk"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="adult"] .rail-label::after { content: "18+" !important; }
  html[data-sg-editor-lang="uk"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="sales"] .rail-label::after { content: "Продажі" !important; }
  html[data-sg-editor-lang="uk"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="design"] .rail-label::after { content: "Дизайн" !important; }
  html[data-sg-editor-lang="uk"] #fotor-root .editor-shell:not(.is-mobile) .rail-btn[data-section="adjust"] .rail-label::after { content: "Корекція" !important; }
}
