/* Fotor Photo Editor 1.0.184 — desktop rail labels readability fix. */
@media (min-width: 769px) {
  /* Slightly wider desktop rail so category names are understandable. */
  #fotor-root .editor-shell:not(.is-mobile) .left-rail {
    width: 74px !important;
    flex: 0 0 74px !important;
    padding-left: 7px !important;
    padding-right: 7px !important;
  }

  #fotor-root .editor-shell:not(.is-mobile) .rail-btn {
    width: 58px !important;
    min-width: 58px !important;
    height: 54px !important;
    min-height: 54px !important;
    padding: 5px 4px 4px !important;
  }

  #fotor-root .editor-shell:not(.is-mobile) .rail-label {
    display: -webkit-box !important;
    width: 100% !important;
    max-width: 52px !important;
    min-height: 19px !important;
    margin: 3px auto 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    white-space: normal !important;
    text-overflow: clip !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    color: rgba(183,192,204,.78) !important;
    font-size: 9.5px !important;
    font-weight: 650 !important;
    line-height: 1.08 !important;
    text-align: center !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  #fotor-root .editor-shell:not(.is-mobile) .rail-btn.active .rail-label {
    color: #e6efff !important;
  }

  /* Keep short labels visually centered on one line. */
  #fotor-root .editor-shell:not(.is-mobile) .rail-label[data-sg-short-label="1"] {
    display: block !important;
    min-height: 10px !important;
    white-space: nowrap !important;
  }

  /* Small native tooltip, used only as a fallback for long labels. */
  #fotor-root .editor-shell:not(.is-mobile) .rail-btn[title] {
    cursor: pointer !important;
  }
}

@media (min-width: 769px) and (max-width: 1180px) {
  #fotor-root .editor-shell:not(.is-mobile) .left-rail {
    width: 70px !important;
    flex-basis: 70px !important;
  }
  #fotor-root .editor-shell:not(.is-mobile) .rail-btn {
    width: 54px !important;
    min-width: 54px !important;
  }
  #fotor-root .editor-shell:not(.is-mobile) .rail-label {
    max-width: 49px !important;
    font-size: 9px !important;
  }
}
