@charset "UTF-8";
.row {
  margin-top: 10px;
  display: flex;
  width: 100%;
  gap: 15px;
}
.row__left-section, .row__right-section {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.editor-title {
  margin: 0 auto;
  text-align: center;
  max-width: 500px;
  font-weight: 500;
}
.editor-title_price {
  margin-top: 10px;
  font-size: 1.25em;
  color: #E270BB;
  font-weight: 600;
}
.editor-title__balance-icon {
  max-width: 25px;
}

.upload-file {
  display: flex;
  width: 100%;
  background-color: #252525;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 40px;
  border-radius: 12px;
  border: #2d2d2d 1px solid;
  transition: border-color 0.5s;
}
.upload-file-input {
  display: none;
}
.upload-file--drag {
  border: #E270BB 2px solid;
}
.upload-file__content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.upload-file__icon {
  object-fit: contain;
  border-radius: 12px;
  max-height: 250px;
}
.upload-file__text {
  margin-top: 15px;
  font-weight: 600;
  color: #E270BB;
}
.upload-file__format {
  color: #848282;
  font-weight: 500;
}
.upload-file__guide {
  display: flex;
  gap: 5px;
  align-items: center;
  margin-top: 20px;
  color: #848282;
  font-weight: 600;
}

.loader {
  display: block;
  position: relative;
  height: 12px;
  width: 80%;
  border: 1px solid #848282;
  border-radius: 10px;
  overflow: hidden;
}

.loader::after {
  content: "";
  width: 40%;
  height: 100%;
  background: #E270BB;
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: border-box;
  animation: animloader 2s linear infinite;
}

@keyframes animloader {
  0% {
    left: 0;
    transform: translateX(-100%);
  }
  100% {
    left: 100%;
    transform: translateX(0%);
  }
}
.loading-screen {
  display: none;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 60px;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.loading-screen__title {
  font-size: 1.125em;
  font-weight: 500;
}
.loading-screen__icon {
  width: 250px;
  height: 250px;
}
.loading-screen__link {
  color: #E270BB;
  font-weight: 600;
}
.loading-screen__link:hover {
  border-bottom: #E270BB 2px solid;
}

.result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
}
.result__title {
  font-size: 1.5em;
  font-weight: 500;
}
.result__icon {
  max-height: 210px;
  object-fit: contain;
}
.result__field {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}
.result__content {
  height: 300px;
  object-fit: cover;
  border: #2d2d2d 2px solid;
  border-radius: 12px;
}
.result__btns {
  display: flex;
  width: 100%;
  justify-content: center;
  gap: 15px;
}
.result__btn {
  display: flex;
  justify-content: center;
  border-radius: 12px;
  color: #FFF;
}
.result__btn--download {
  max-width: 190px;
}
.result__btn--back {
  background-color: #252525;
  color: #FFF;
  border-radius: 12px;
  max-width: 90px;
}
.result__text {
  text-align: center;
}

.people-settings {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.people-settings__section {
  display: flex;
  gap: 10px;
  width: 100%;
}
.people-settings__name {
  font-weight: 600;
}
.people-settings__radio {
  margin-top: 10px;
  display: inline-flex;
  padding: 6px;
  border-radius: 12px;
  background-color: #32323D;
}
.people-settings__radio-item {
  position: relative;
  height: 45px;
  width: 125px;
}
.people-settings__radio-label {
  position: relative;
  z-index: 2;
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-size: 1.125em;
}
.people-settings__radio-marker {
  position: absolute;
  z-index: 1;
  top: 0;
  left: -100%;
  border-radius: 12px;
  background-color: #E270BB;
  height: 45px;
  width: 125px;
  transition: transform 0.3s;
}
.people-settings__radio-input:checked ~ .people-settings__radio-marker {
  transform: translateX(100%);
}
.people-settings__selector {
  margin-top: 10px;
  position: relative;
  display: flex;
  width: 250px;
  height: 45px;
  line-height: 2.65;
  background: #252525;
  overflow: hidden;
  border-radius: 12px;
  border: #75747A 1px solid;
}
.people-settings__selector:after {
  content: "▼";
  position: absolute;
  top: 0;
  right: 0;
  padding: 0 16px;
  background: #E270BB;
  cursor: pointer;
  pointer-events: none;
}
.people-settings__selector select {
  appearance: none;
  outline: 0;
  box-shadow: none;
  border: 0;
  background: #1E1E1E;
  flex: 1;
  padding: 0 15px;
  color: #FFF;
  cursor: pointer;
}

.people-setting {
  padding-block: 15px;
  background-color: #252525;
  border: #2d2d2d 1px solid;
  transition: border-color 0.5s;
  border-radius: 12px;
  flex-grow: 1;
}
.people-setting_selected {
  border: #E270BB 2px solid;
}
.people-setting__text {
  display: block;
  color: #848282;
}
.people-setting__icon {
  max-width: 160px;
  width: 100%;
}

.download__btns {
  display: flex;
  gap: 10px;
  margin: 20px 0 30px 0;
  padding: 0 50px;
  justify-content: center;
}
.download__btn {
  color: #FFF;
  border-radius: 12px;
}
.download__btn_main {
  font-weight: 600;
  flex-grow: 1;
}

.start-processing {
  margin-top: 20px;
}
.start-processing--only {
  margin-top: 50px;
}
.start-processing__token-balance {
  font-size: 1.25em;
  font-weight: 500;
}
.start-processing__start-btn {
  display: flex;
  border-radius: 12px;
  font-weight: 500;
}
.start-processing__start-btn-text {
  margin: 0 auto;
}
.start-processing__price {
  display: flex;
  gap: 5px;
}

.agreement {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 30px;
  padding: 0 20px;
  gap: 30px;
}
.agreement__text {
  font-size: 0.875em;
  line-height: 1.5;
  color: #FFF;
}
.agreement__text-header {
  font-size: 1.625em;
  font-weight: 600;
}
.agreement__btn {
  padding: 20px 0;
  max-width: 335px;
}

.slider {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #252525;
  border-radius: 999px;
  transition: width 0.5s, background-color 0.5s;
}
.slider_active {
  width: 24px;
  background-color: #E270BB;
}

.settings {
  margin-top: 30px;
}
.settings__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.settings__header__text {
  font-weight: 500;
}
.settings__items {
  font-size: 0.875em;
}
.settings__items-title {
  color: #848282;
  margin: 30px 0;
}
.settings__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: #252525 1px solid;
}
.settings__item-name {
  color: #FFF;
}
.settings__item-value {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #848282;
}

.conditions {
  margin-top: 30px;
}
.conditions__header {
  display: flex;
  align-items: center;
}
.conditions__header-title {
  margin: 0 auto;
  position: relative;
  right: 20px;
  font-weight: 500;
}
.conditions__text {
  font-size: 0.875em;
  margin: 0 auto 0 auto;
  color: #848282;
  line-height: 1.8em;
}
.conditions__text-title {
  margin: 30px 0 30px;
  font-weight: 600;
  color: #848282;
}

.manual__content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  gap: 20px;
  margin-top: 20px;
}
.manual__title {
  font-weight: 600;
}
.manual__image {
  border-radius: 12px;
  height: 100%;
  object-fit: contain;
}
.manual__text {
  font-size: 0.875em;
}
.manual__sliders {
  display: flex;
  gap: 5px;
}
.manual__btn {
  display: flex;
  justify-content: center;
  border-radius: 12px;
  max-width: 190px;
  width: 100%;
  color: #FFF;
}
.manual__sliders {
  display: flex;
  gap: 5px;
}
.manual__slider {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #252525;
  border-radius: 999px;
  transition: width 0.5s, background-color 0.5s;
}
.manual__slider_active {
  width: 24px;
  background-color: #E270BB;
}

.gallery__title {
  margin-top: 20px;
  font-weight: 600;
  font-size: 1.5em;
}
.gallery__title-search {
  font-weight: 600;
  font-size: 1.125em;
}
.gallery__search {
  display: flex;
  flex-wrap: wrap;
  margin-top: 10px;
  border: #2d2d2d 2px solid;
  border-radius: 12px;
  color: #848282;
  padding: 5px;
  min-height: 47px;
  background-color: #252525;
  width: 100%;
  transition: border-color 0.5s;
}
.gallery__search:focus {
  border-color: #E270BB;
}
.gallery__tags {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.gallery__tag {
  border: #2d2d2d 2px solid;
  border-radius: 12px;
  background-color: #1E1E1E;
  color: #848282;
  padding: 5px 10px;
}
.gallery__description {
  color: #848282;
}
.gallery__images {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.gallery__image {
  border-radius: 12px;
  object-fit: cover;
  background-color: #75747A;
  width: 180px;
  height: 180px;
  cursor: pointer;
}

.knowledge {
  margin-top: 10px;
}
.knowledge__title {
  font-size: 1.25em;
  font-weight: 600;
}
.knowledge__description {
  color: #848282;
}
.knowledge__items {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.knowledge__item {
  margin-top: 10px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 380px;
  height: 220px;
  border-radius: 12px;
}
.knowledge__item:nth-child(1) {
  background: url("../images/faq-1.3c9c0b924564.png") no-repeat center center #252525;
}
.knowledge__item:nth-child(2) {
  background: url("../images/faq-2.cf6fa8f55b10.png") no-repeat center center #252525;
}
.knowledge__item-tags {
  display: flex;
  gap: 10px;
}
.knowledge__item-tag {
  background-color: #E270BB;
  font-weight: 500;
  text-align: center;
  font-size: 0.85em;
  width: 100px;
  padding: 2px 0;
  border-radius: 999px;
}
.knowledge__item-title {
  font-weight: 600;
  font-size: 1.25em;
}

/* ===== DeepFake editor ===== */
.df-page {
  padding-bottom: 40px;
}
.df-page [hidden] {
  display: none !important;
}

.df-head {
  position: relative;
  text-align: center;
  margin: 36px auto 26px;
}
.df-head::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -70px;
  width: 520px;
  height: 230px;
  max-width: 100vw;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(226, 112, 187, 0.16), transparent 72%);
  pointer-events: none;
  z-index: 0;
}
.df-head > * {
  position: relative;
  z-index: 1;
}
.df-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(226, 112, 187, 0.35);
  background-color: rgba(226, 112, 187, 0.08);
  color: #E270BB;
  font-size: 0.74em;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.df-badge svg {
  width: 15px;
  height: 15px;
}
.df-head h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.9em;
  font-weight: 700;
  line-height: 1.25;
  color: #FFF;
  margin-top: 14px;
}
.df-head p {
  color: #848282;
  font-size: 0.95em;
  line-height: 1.55;
  max-width: 560px;
  margin: 10px auto 0;
}

.df-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 940px;
  margin: 0 auto 18px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(226, 112, 187, 0.35);
  background-color: rgba(226, 112, 187, 0.08);
  color: #f3c6e4;
  font-size: 0.9em;
  font-weight: 500;
  line-height: 1.45;
}
.df-alert__icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: #E270BB;
}

.df-form {
  max-width: 940px;
  margin: 0 auto;
}

.df-slots {
  display: flex;
  align-items: stretch;
  gap: 16px;
  margin-bottom: 18px;
}
.df-slots__arrow {
  flex: 0 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #E270BB;
  opacity: 0.85;
}
.df-slots__arrow svg {
  width: 26px;
  height: 26px;
}

.df-slot {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  min-height: 320px;
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(226, 112, 187, 0.07), transparent 62%),
    #252525;
  border: 2px dashed #2d2d2d;
  border-radius: 16px;
  color: #848282;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.df-slot:hover,
.df-slot:focus-within {
  border-color: rgba(226, 112, 187, 0.8);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
.df-slot_drag {
  border-color: #E270BB;
  background-color: rgba(226, 112, 187, 0.08);
  transform: translateY(-2px);
}
.df-slot_filled {
  border-style: solid;
  border-color: #2d2d2d;
}
.df-slot_filled:hover,
.df-slot_filled:focus-within {
  border-color: rgba(226, 112, 187, 0.6);
}

.df-slot__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #E270BB, #b4528f);
  color: #FFF;
  font-size: 0.85em;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(226, 112, 187, 0.35);
  pointer-events: none;
}

/* Прозрачная кнопка на всю площадь слота: клик/Enter/Space открывают выбор файла. */
.df-slot__hit {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0;
  border-radius: inherit;
  background: none;
  color: inherit;
  cursor: pointer;
}
.df-slot__hit:focus-visible {
  outline: 2px solid #E270BB;
  outline-offset: -4px;
  border-radius: 16px;
}

.df-slot__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 8px;
}
.df-slot__icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 4px;
  border-radius: 50%;
  background-color: rgba(226, 112, 187, 0.1);
  color: #E270BB;
}
.df-slot__icon svg {
  width: 34px;
  height: 34px;
}
.df-slot__title {
  color: #FFF;
  font-weight: 600;
  font-size: 1.05em;
  line-height: 1.3;
}
.df-slot__hint {
  font-size: 0.82em;
  line-height: 1.4;
}
.df-slot__cta {
  margin-top: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(226, 112, 187, 0.4);
  background-color: rgba(226, 112, 187, 0.08);
  color: #E270BB;
  font-size: 0.76em;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.df-slot:hover .df-slot__cta {
  background-color: #E270BB;
  color: #FFF;
}

.df-slot__preview,
.df-slot__preview-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  z-index: 0;
  object-fit: cover;
  border-radius: 14px;
}

.df-slot__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}
.df-slot__file {
  max-width: 62%;
  overflow: hidden;
  color: #FFF;
  font-size: 0.78em;
  font-weight: 500;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.df-slot__controls {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}
.df-slot__change {
  padding: 6px 12px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.16);
  color: #FFF;
  font-size: 0.78em;
  font-weight: 600;
  transition: background-color 0.2s ease;
}
.df-slot__change:hover {
  background-color: #E270BB;
}
.df-slot__remove {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.16);
  color: #FFF;
  pointer-events: auto;
  transition: background-color 0.2s ease;
}
.df-slot__remove svg {
  width: 14px;
  height: 14px;
}
.df-slot__remove:hover {
  background-color: #E270BB;
}

.df-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
}
.df-submit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 520px;
  padding: 16px 22px;
  border-radius: 14px;
  color: #FFF;
  font-size: 1.02em;
  font-weight: 600;
  background: linear-gradient(135deg, #E270BB, #c255a0);
  box-shadow: 0 12px 30px rgba(226, 112, 187, 0.25);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.df-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(226, 112, 187, 0.35);
}
.df-submit:active:not(:disabled) {
  transform: translateY(0);
}
.df-submit:disabled {
  background: #2d2d2d;
  color: #848282;
  box-shadow: none;
  cursor: not-allowed;
}
.df-submit .btn__text {
  margin: 0;
}
.df-submit__icon {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
}
.df-submit__icon svg {
  width: 20px;
  height: 20px;
}
.df-submit__price {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background-color: rgba(0, 0, 0, 0.18);
  font-size: 0.85em;
}
.df-submit__price img {
  width: 15px;
  height: 15px;
}
.df-submit:disabled .df-submit__price {
  background-color: rgba(255, 255, 255, 0.06);
}
.df-submit_loading .df-submit__icon {
  display: none;
}
.df-submit__spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #FFF;
  border-radius: 50%;
  animation: df-spin 0.8s linear infinite;
}
.df-price_bump {
  animation: df-bump 0.35s ease;
}
@keyframes df-bump {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.35);
    color: #FFF;
  }
  100% {
    transform: scale(1);
  }
}

.df-actions__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.df-balance {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #FFF;
  font-size: 0.9em;
  font-weight: 500;
}
.df-balance img {
  width: 16px;
  height: 16px;
}
.df-balance b {
  color: #E270BB;
}
.df-actions__hint {
  max-width: 540px;
  color: #848282;
  font-size: 0.78em;
  line-height: 1.5;
}

.df-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  max-width: 940px;
  margin: 22px auto 0;
  color: #848282;
  font-size: 0.78em;
}
.df-note__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}
.df-note__item svg {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  color: #E270BB;
}

.df-panel {
  max-width: 940px;
  margin: 0 auto 18px;
  padding: 26px 22px;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(226, 112, 187, 0.06), transparent 62%),
    #252525;
  border: 1px solid #2d2d2d;
  border-radius: 16px;
}
.df-panel h3 {
  margin-bottom: 6px;
  color: #FFF;
  font-size: 1.15em;
  font-weight: 700;
  text-align: center;
}
.df-panel p {
  color: #848282;
  font-size: 0.88em;
  line-height: 1.55;
  text-align: center;
}

.df-waiting {
  text-align: center;
}
.df-progress {
  position: relative;
  height: 6px;
  max-width: 360px;
  margin: 18px auto 0;
  overflow: hidden;
  border-radius: 999px;
  background-color: #2d2d2d;
}
.df-progress span {
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #E270BB, transparent);
  animation: df-progress 1.5s ease-in-out infinite;
}
@keyframes df-progress {
  0% {
    left: -40%;
  }
  100% {
    left: 100%;
  }
}

.df-spinner {
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
}
.df-spinner svg {
  width: 100%;
  height: 100%;
  animation: df-spin 1.4s linear infinite;
}
.df-spinner svg circle {
  stroke: #E270BB;
  stroke-dasharray: 80, 150;
  stroke-dashoffset: 0;
  animation: df-dash 1.4s ease-in-out infinite;
}

.df-result {
  text-align: center;
}
.df-result__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 4px;
  text-align: left;
}
.df-result__head h3 {
  margin-bottom: 2px;
  text-align: left;
}
.df-result__head p {
  text-align: left;
}
.df-result__check {
  display: grid;
  flex: 0 0 42px;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(226, 112, 187, 0.14);
  color: #E270BB;
}
.df-result__check svg {
  width: 22px;
  height: 22px;
}
#df-result .result__field {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}
#df-result .result__field img,
#df-result .result__field video {
  width: auto;
  max-width: 100%;
  max-height: min(60vh, 460px);
  height: auto;
  border: 2px solid #2d2d2d;
  border-radius: 14px;
  background-color: #000;
}
.df-result__btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}
.df-result__download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 200px;
  font-weight: 600;
  color: #FFF;
}
.df-result__download svg {
  width: 18px;
  height: 18px;
}
.df-result__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  color: #FFF;
}

.df-link {
  color: #E270BB;
}

@keyframes df-spin {
  100% {
    transform: rotate(360deg);
  }
}
@keyframes df-dash {
  0% {
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dashoffset: -125;
  }
}

@media (max-width: 900px) {
  .df-slots {
    gap: 12px;
  }
  .df-slot {
    min-height: 280px;
  }
}

@media (max-width: 768px) {
  .df-head {
    margin-top: 24px;
  }
  .df-head h1 {
    font-size: 1.45em;
  }
  .df-head p {
    font-size: 0.9em;
  }
  .df-slots {
    flex-direction: column;
    max-width: none;
  }
  .df-slots__arrow {
    flex: 0 0 auto;
    padding: 2px 0;
    transform: rotate(90deg);
  }
  .df-slot {
    min-height: 220px;
    aspect-ratio: auto;
  }
  .df-submit {
    max-width: none;
  }
  .df-panel {
    padding: 20px 16px;
  }
  .df-result__head {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .df-result__head h3,
  .df-result__head p {
    text-align: center;
  }
  .df-result__download,
  .df-result__back {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .df-spinner svg,
  .df-spinner svg circle,
  .df-progress span,
  .df-price_bump {
    animation: none !important;
  }
}

.result__item--pending {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 120px;
  background-color: #252525;
  border-radius: 12px;
  color: #848282;
}
.result__item--pending .result__pending-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid #2d2d2d;
  border-top-color: #E270BB;
  border-radius: 50%;
  animation: df-spin 1s linear infinite;
}

.preview {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.preview__content img, .preview__content video {
  border-radius: 12px;
  width: 100%;
}
.preview__btn-download {
  margin-top: 20px;
  color: #FFF;
  text-align: center;
  font-weight: 600;
}

/* utility classes */
.ri5-sr-only {
  position: absolute;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
}

@media (max-width: 768px) {
  .row {
    flex-direction: column;
  }
  .row__right-section {
    min-width: 0;
    padding: 0;
  }
  .upload-file {
    height: 100%;
  }
  .start-processing--only {
    margin-top: 20px;
  }
  .start-processing__start-btn {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .conditions {
    margin-top: 16px;
  }
  .conditions__header-btn {
    width: 22px;
  }
  .conditions__header-title {
    right: 0;
    padding: 0 8px;
    font-size: 0.95em;
    line-height: 1.35;
  }
  .conditions__text {
    font-size: 0.9em;
    line-height: 1.7;
    overflow-wrap: break-word;
  }
  .conditions__text-title {
    margin: 22px 0 14px;
    font-size: 1em;
  }
}


.shop__notice {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 16px 0;
  padding: 14px 16px;
  border: 1px solid #E270BB;
  border-radius: 12px;
  background: rgba(226, 112, 187, 0.12);
}

.shop__notice-title {
  color: #E270BB;
  font-weight: 700;
  font-size: 1.05em;
}

.shop__notice-text {
  color: #848282;
  font-size: 0.95em;
  line-height: 1.45;
}
