/* Fotor Photo Editor 1.0.273 — stages 2.1–2.2: preset names and inline selected option. */

@media (max-width: 768px) {
  #fotor-root .editor-shell.is-mobile .mobile-preset-card:not(.adjust-mobile-page .mobile-preset-card) {
    flex-basis: 96px !important;
    width: 96px !important;
    min-width: 96px !important;
    max-width: 96px !important;
  }

  #fotor-root .editor-shell.is-mobile .mobile-preset-card:not(.adjust-mobile-page .mobile-preset-card) .mobile-preset-name {
    position: absolute !important;
    z-index: 6 !important;
    top: auto !important;
    right: 5px !important;
    bottom: 3px !important;
    left: 5px !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: 26px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #f4f7fb !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    font-size: 11px !important;
    font-weight: 760 !important;
    line-height: 12px !important;
    letter-spacing: -.01em !important;
    text-align: center !important;
    white-space: normal !important;
    text-overflow: clip !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .96) !important;
    pointer-events: none !important;
  }

  #fotor-root .editor-shell.is-mobile .mobile-preset-card.active .mobile-preset-name,
  #fotor-root .editor-shell.is-mobile .mobile-preset-card[aria-pressed="true"] .mobile-preset-name,
  #fotor-root .editor-shell.is-mobile .mobile-preset-card[aria-selected="true"] .mobile-preset-name {
    background: transparent !important;
    color: #ffffff !important;
  }

  /* The selected option carries its full title inside the existing panel. */
  #fotor-root .editor-shell.is-mobile .mobile-preset-card.active:not(.adjust-mobile-page .mobile-preset-card),
  #fotor-root .editor-shell.is-mobile .mobile-preset-card[aria-pressed="true"]:not(.adjust-mobile-page .mobile-preset-card),
  #fotor-root .editor-shell.is-mobile .mobile-preset-card[aria-selected="true"]:not(.adjust-mobile-page .mobile-preset-card) {
    flex-basis: 120px !important;
    width: 120px !important;
    min-width: 120px !important;
    max-width: 120px !important;
  }

  body > .sg-mobile-preset-active-label {
    display: none !important;
  }
}

@media (max-width: 370px) {
  #fotor-root .editor-shell.is-mobile .mobile-preset-card:not(.adjust-mobile-page .mobile-preset-card) {
    flex-basis: 92px !important;
    width: 92px !important;
    min-width: 92px !important;
    max-width: 92px !important;
  }

  #fotor-root .editor-shell.is-mobile .mobile-preset-card.active:not(.adjust-mobile-page .mobile-preset-card),
  #fotor-root .editor-shell.is-mobile .mobile-preset-card[aria-pressed="true"]:not(.adjust-mobile-page .mobile-preset-card),
  #fotor-root .editor-shell.is-mobile .mobile-preset-card[aria-selected="true"]:not(.adjust-mobile-page .mobile-preset-card) {
    flex-basis: 116px !important;
    width: 116px !important;
    min-width: 116px !important;
    max-width: 116px !important;
  }
}
