:root {
  --primary: 20 100% 50%;
  --primary-hover: 20 100% 45%
}

::-webkit-scrollbar {
  width: 4px;
  height: 4px
}

::-webkit-scrollbar-thumb {
  background-color: #252a42;
  border-radius: 8px
}

::-webkit-scrollbar-track {
  background-color: #141729;
  border-radius: 8px
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #A084E8 0%, #4F46E5 100%)
}

input:-webkit-autofill {
  background-color: #282634 !important;
  -webkit-text-fill-color: #fff !important;
  -webkit-transition: background-color 5000s ease-in-out 0s;
  transition: background-color 5000s ease-in-out 0s
}

.x-cloak {
  display: none !important
}

body {
  margin: 0;
  padding: 0;
  background: #0d0d12
}

.main-bg {
  background: #201e2d !important
}

.gray-bg {
  background: #32303f !important
}

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 5px;
  outline: none;
  opacity: .7;
  transition: opacity .2s
}

.slider:hover {
  opacity: 1
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f8df5a;
  cursor: pointer;
  box-shadow: 0 0 5px #00000080
}

.slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f8df5a;
  cursor: pointer;
  box-shadow: 0 0 5px #00000080
}

.loader-container {
  width: 100%
}

.loader-bar {
  height: 4px;
  background: rgba(255, 255, 255, .1);
  border-radius: 2px;
  overflow: hidden;
  position: relative
}

.loader-bar:before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #F5D76E, #FFD700);
  animation: loading 1.5s infinite linear;
  border-radius: 2px;
  box-shadow: 0 0 10px #f5d76e, 0 0 5px #f5d76e
}

@keyframes loading {
  0% {
    left: -50%
  }

  to {
    left: 150%
  }
}

.glow {
  height: 10px;
  width: 100%;
  background: radial-gradient(ellipse at center, rgba(245, 215, 110, .3) 0%, rgba(0, 0, 0, 0) 70%);
  margin-top: -2px;
  opacity: .7;
  animation: glow 1.5s infinite linear
}

@keyframes glow {
  0% {
    opacity: .3
  }

  50% {
    opacity: .7
  }

  to {
    opacity: .3
  }
}

.fixed-btn,
.demo-block,
.app {
  display: var(--app-display, block)
}

.file-uploader.svelte-pfat7p {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: .5rem
}

.uploader-container.svelte-pfat7p {
  border: 2px dashed rgba(255, 255, 255, .3);
  border-radius: .75rem;
  background: rgba(0, 0, 0, .1);
  transition: all .2s ease
}

.uploader-container.svelte-pfat7p:hover:not(.disabled):not(.readonly) {
  border-color: #8b5cf699;
  background: rgba(139, 92, 246, .05)
}

.uploader-container.disabled.svelte-pfat7p,
.uploader-container.readonly.svelte-pfat7p {
  opacity: .6;
  cursor: not-allowed
}

.upload-area.svelte-pfat7p {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: pointer;
  text-align: center
}

.upload-icon.svelte-pfat7p {
  margin-bottom: 1rem;
  color: #9ca3af
}

.upload-title.svelte-pfat7p {
  font-size: 1rem;
  font-weight: 500;
  color: #e0e0e0;
  margin-bottom: .25rem
}

.upload-subtitle.svelte-pfat7p {
  font-size: .875rem;
  color: #9ca3af
}

.file-preview.svelte-pfat7p {
  padding: 1rem
}

.preview-content.svelte-pfat7p {
  display: flex;
  align-items: center;
  gap: 1rem
}

.preview-image.svelte-pfat7p,
.preview-video.svelte-pfat7p {
  flex-shrink: 0;
  width: 12vw;
  height: 12vw;
  min-width: 4rem;
  min-height: 4rem;
  max-width: 144px;
  max-height: 144px;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: .5rem;
  border: 1px solid rgba(255, 255, 255, .2)
}

.preview-icon.svelte-pfat7p {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background: rgba(255, 255, 255, .1);
  border-radius: .5rem;
  color: #9ca3af
}

.file-info.svelte-pfat7p {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  height: 100%;
  gap: 8px
}

.file-name.svelte-pfat7p {
  font-size: .875rem;
  font-weight: 500;
  color: #e0e0e0;
  word-break: break-all
}

.file-size.svelte-pfat7p {
  font-size: .75rem;
  color: #9ca3af
}

.file-actions.svelte-pfat7p {
  display: flex;
  gap: .5rem
}

.action-btn.svelte-pfat7p {
  display: flex;
  align-items: center;
  gap: .25rem;
  padding: .375rem .75rem;
  font-size: .75rem;
  border: 1px solid transparent;
  border-radius: .375rem;
  cursor: pointer;
  transition: all .2s
}

.action-btn.reupload.svelte-pfat7p {
  background: rgba(139, 92, 246, .1);
  color: #a855f7;
  border-color: #8b5cf64d
}

.action-btn.reupload.svelte-pfat7p:hover:not(:disabled) {
  background: rgba(139, 92, 246, .2)
}

.action-btn.remove.svelte-pfat7p {
  background: rgba(239, 68, 68, .1);
  color: #ef4444;
  border-color: #ef44444d
}

.action-btn.remove.svelte-pfat7p:hover:not(:disabled) {
  background: rgba(239, 68, 68, .2)
}

.action-btn.svelte-pfat7p:disabled {
  opacity: .5;
  cursor: not-allowed
}

.upload-progress.svelte-pfat7p {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  gap: 1rem
}

.progress-bar.svelte-pfat7p {
  width: 100%;
  height: .5rem;
  background: rgba(255, 255, 255, .1);
  border-radius: .25rem;
  overflow: hidden
}

.progress-fill.svelte-pfat7p {
  height: 100%;
  background: linear-gradient(90deg, #a855f7, #3b82f6);
  transition: width .3s ease
}

.progress-text.svelte-pfat7p {
  font-size: .875rem;
  font-weight: 500;
  color: #e0e0e0
}

@media (max-width: 768px) {
  .action-btn.svelte-pfat7p {
    padding: .375rem .5rem
  }

  .file-preview.svelte-pfat7p {
    padding: .5rem
  }

  .preview-content.svelte-pfat7p {
    gap: .5rem
  }

  .preview-image.svelte-pfat7p {
    width: 25vw;
    height: 25vw
  }
}

ul.svelte-k7enup.svelte-k7enup {
  list-style: none;
  padding-left: 0
}

.dropdown-container.svelte-k7enup.svelte-k7enup {
  position: relative
}

.dropdown-menu.svelte-k7enup.svelte-k7enup {
  box-sizing: border-box;
  position: absolute;
  width: 100%;
  background: linear-gradient(180deg, #18245a 0%, #101548 100%);
  border: 1px solid #ffffff20;
  border-radius: 8px;
  box-shadow: 0 10px 15px -3px #0000001a, 0 4px 6px -2px #0000000d;
  overflow: hidden;
  z-index: 1
}

.dropdown-down.svelte-k7enup.svelte-k7enup {
  top: 100%;
  margin-top: 8px
}

.dropdown-up.svelte-k7enup.svelte-k7enup {
  bottom: 100%;
  margin-bottom: 8px
}

.dropdown-right.svelte-k7enup.svelte-k7enup {
  bottom: 100%;
  left: 0;
  margin-bottom: 8px
}

.dropdown-left.svelte-k7enup.svelte-k7enup {
  bottom: 100%;
  right: 0;
  margin-bottom: 8px
}

.dropdown-align-left.svelte-k7enup.svelte-k7enup {
  left: 0
}

.dropdown-align-right.svelte-k7enup.svelte-k7enup {
  right: 0
}

.dropdown-list.svelte-k7enup.svelte-k7enup {
  max-height: 350px;
  margin: 0;
  padding: 10px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain
}

.dropdown-item.svelte-k7enup.svelte-k7enup {
  padding: 12px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color .15s ease-in-out;
  pointer-events: auto;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none
}

.dropdown-item.svelte-k7enup.svelte-k7enup:hover {
  background-color: #ffffff10
}

.dropdown-item-content.svelte-k7enup.svelte-k7enup {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%
}

.dropdown-icon.svelte-k7enup.svelte-k7enup {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  margin-right: 12px
}

.dropdown-icon-img.svelte-k7enup.svelte-k7enup {
  width: 20px;
  height: 20px;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 4px
}

.dropdown-button.svelte-k7enup .dropdown-icon-img.svelte-k7enup {
  width: 32px;
  height: 32px
}

.dropdown-text.svelte-k7enup.svelte-k7enup {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0
}

.dropdown-title.svelte-k7enup.svelte-k7enup {
  color: #d1d5db;
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.dropdown-description.svelte-k7enup.svelte-k7enup {
  color: #9ca3af;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.dropdown-button.svelte-k7enup.svelte-k7enup {
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background-color: #00366b5c;
  color: #eee;
  border-radius: 8px;
  border: 1px solid #374151;
  transition: background-color .2s ease-in-out;
  outline: none;
  font-size: 14px
}

.dropdown-button.svelte-k7enup.svelte-k7enup:focus {
  border: 1px solid #ffffff20
}

.dropdown-enabled.svelte-k7enup.svelte-k7enup {
  cursor: pointer
}

.dropdown-enabled.svelte-k7enup.svelte-k7enup:hover {
  background-color: #00366b90
}

.dropdown-disabled.svelte-k7enup.svelte-k7enup {
  opacity: .5;
  cursor: not-allowed
}

.dropdown-button-content.svelte-k7enup.svelte-k7enup {
  display: flex;
  align-items: center;
  width: 100%
}

.dropdown-selected.svelte-k7enup.svelte-k7enup {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  text-align: left
}

.dropdown-selected-title.svelte-k7enup.svelte-k7enup {
  color: #eee;
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.dropdown-selected-description.svelte-k7enup.svelte-k7enup {
  color: #ffffff59;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.dropdown-placeholder.svelte-k7enup.svelte-k7enup {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.dropdown-chevron.svelte-k7enup.svelte-k7enup {
  width: 16px;
  height: 16px;
  transition: transform .2s ease-in-out
}

.dropdown-chevron-rotated.svelte-k7enup.svelte-k7enup {
  transform: rotate(180deg)
}

.dropdown-item-disabled.svelte-k7enup.svelte-k7enup {
  opacity: .5;
  cursor: not-allowed !important;
  pointer-events: none
}

.dropdown-item-disabled.svelte-k7enup .dropdown-title.svelte-k7enup,
.dropdown-item-disabled.svelte-k7enup .dropdown-description.svelte-k7enup {
  color: #666 !important
}

.w-80 {
  width: 320px
}

.animate-slideUp {
  animation: svelte-k7enup-slideUp .2s ease-in-out
}

.animate-slideDown {
  animation: svelte-k7enup-slideDown .2s ease-in-out
}

@keyframes svelte-k7enup-slideUp {
  0% {
    opacity: 0;
    transform: translateY(5px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes svelte-k7enup-slideDown {
  0% {
    opacity: 0;
    transform: translateY(-5px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.select.svelte-k7enup.svelte-k7enup {
  position: relative;
  width: 100%;
  min-width: 180px;
  background: #32303f;
  border-radius: 8px;
  border: 1px solid #666185;
  box-sizing: border-box;
  font-size: 14px;
  color: #222;
  outline: none
}

.select-selector.svelte-k7enup.svelte-k7enup {
  display: flex;
  align-items: center;
  height: 56px;
  padding: 0 12px;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none
}

.select-selection-wrap.svelte-k7enup.svelte-k7enup {
  flex: 1;
  display: flex;
  align-items: center;
  min-width: 0
}

.select-selection-search.svelte-k7enup.svelte-k7enup,
.select-selection-search-input.svelte-k7enup.svelte-k7enup {
  display: none
}

.select-selection-item.svelte-k7enup.svelte-k7enup {
  flex: 1;
  display: flex;
  align-items: center;
  min-width: 0
}

.select-arrow.svelte-k7enup.svelte-k7enup {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none
}

.select-dropdown.svelte-k7enup.svelte-k7enup {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #32303f;
  border: 1px solid #666185;
  border-radius: 8px;
  box-shadow: 0 4px 16px #00000014;
  z-index: 100;
  margin-top: 4px;
  padding: 4px
}

.select-list.svelte-k7enup.svelte-k7enup {
  list-style: none;
  margin: 0;
  padding: 0
}

.select-option.svelte-k7enup.svelte-k7enup {
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 6px;
  transition: background .15s;
  display: flex;
  align-items: center;
  gap: 10px
}

.select-option.svelte-k7enup.svelte-k7enup:hover {
  background: #f3f4f610
}

.size-3.svelte-k7enup.svelte-k7enup {
  width: 20px;
  height: 20px
}

.size-8.svelte-k7enup.svelte-k7enup {
  width: 32px;
  height: 32px
}

.text-f-text.svelte-k7enup.svelte-k7enup {
  color: #fff
}

.text-f-text-quaternary.svelte-k7enup.svelte-k7enup {
  color: #ffffff59;
  font-size: .75rem
}

.flex.svelte-k7enup.svelte-k7enup {
  display: flex
}

.flex-col.svelte-k7enup.svelte-k7enup {
  flex-direction: column
}

.gap-2.svelte-k7enup.svelte-k7enup {
  gap: 2px
}

.gap-5.svelte-k7enup.svelte-k7enup {
  gap: 5px
}

.gap-10.svelte-k7enup.svelte-k7enup {
  gap: 10px
}

.justify-start.svelte-k7enup.svelte-k7enup {
  justify-content: start
}

.text-f-primary.svelte-k7enup.svelte-k7enup {
  color: #ff3466
}

.justify-center.svelte-k7enup.svelte-k7enup {
  justify-content: center
}

.items-center.svelte-k7enup.svelte-k7enup {
  align-items: center
}

.size-5.svelte-k7enup.svelte-k7enup {
  width: 1.25rem;
  height: 1.25rem
}

.inline-flex.svelte-k7enup.svelte-k7enup {
  display: inline-flex
}

.i-com--circle-check-solid.svelte-k7enup.svelte-k7enup {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: #8b5cf6;
  -webkit-mask-image: var(--svg);
  mask-image: var(--svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' width='40' height='40'%3E%3Cg fill='none'%3E%3Cg clip-path='url(%23circle-check-solid_a)'%3E%3Cpath fill='black' d='M20 0C8.972 0 0 8.972 0 20s8.972 20 20 20 20-8.972 20-20S31.028 0 20 0m-2.998 28.826-7.426-7.41 2.824-2.832 4.598 4.59 10.588-10.588 2.828 2.828z'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='circle-check-solid_a'%3E%3Cpath fill='%23fff' d='M0 0h40v40H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/g%3E%3C/svg%3E")
}

.i-com--circle.svelte-k7enup.svelte-k7enup {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: #8b5cf6;
  -webkit-mask-image: var(--svg);
  mask-image: var(--svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' width='40' height='40'%3E%3Cg fill='none'%3E%3Cg clip-path='url(%23circle_a)'%3E%3Cpath fill='black' d='M20 0C8.972 0 0 8.972 0 20c.002 11.03 8.974 20.002 20 20.002 11.028 0 20-8.972 20.002-20.002C40.002 8.972 31.03 0 20 0m0 36.002c-8.82 0-15.998-7.178-16-16.002 0-8.822 7.178-16 16-16 8.824 0 16.002 7.178 16.002 16C36 28.824 28.822 36.002 20 36.002'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='circle_a'%3E%3Cpath fill='%23fff' d='M0 0h40v40H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/g%3E%3C/svg%3E")
}

.i-com--time.svelte-k7enup.svelte-k7enup {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask-image: var(--svg);
  mask-image: var(--svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' width='48' height='48'%3E%3Cg fill='black'%3E%3Cpath d='M24 4C12.972 4 4 12.972 4 24s8.972 20 20 20 20-8.972 20-20S35.028 4 24 4m0 36c-8.822 0-16-7.178-16-16S15.178 8 24 8s16 7.178 16 16-7.178 16-16 16'/%3E%3Cpath d='M26 14h-4v10.828l6.586 6.586 2.828-2.828L26 23.172z'/%3E%3C/g%3E%3C/svg%3E")
}

.dc-tag.svelte-k7enup.svelte-k7enup {
  display: flex;
  padding: 2px 8px;
  color: #ffffff80;
  font-size: 12px;
  border: 1px solid #ffffff30;
  border-radius: 30px;
  line-height: 14px
}

.radius-4.svelte-k7enup.svelte-k7enup {
  border-radius: 4px
}

.right-content.svelte-k7enup.svelte-k7enup {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 2px
}

.tag-icon.svelte-k7enup.svelte-k7enup {
  width: 1em;
  height: 1em;
  border-radius: 50%
}

.aspect-ratio-select.svelte-15in4s8.svelte-15in4s8 {
  display: flex;
  flex-wrap: nowrap;
  gap: .25rem;
  margin-bottom: .5em;
  overflow-x: auto
}

.aspect-ratio-item.svelte-15in4s8.svelte-15in4s8 {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: all .2s ease;
  opacity: .7;
  padding: .3rem;
  background: rgba(255, 255, 255, .05);
  border-radius: .375rem;
  border: 1px solid rgba(255, 255, 255, .1);
  min-width: 2.5rem;
  flex: 1 1 0;
  white-space: nowrap
}

.aspect-ratio-item.selected.svelte-15in4s8.svelte-15in4s8 {
  opacity: 1;
  border-color: #8b5cf6
}

.aspect-ratio-item.svelte-15in4s8.svelte-15in4s8:hover:not(.disabled) {
  opacity: .9;
  background: rgba(255, 255, 255, .08)
}

.aspect-ratio-item.disabled.svelte-15in4s8.svelte-15in4s8 {
  opacity: .4;
  cursor: not-allowed
}

.aspect-ratio-preview.svelte-15in4s8.svelte-15in4s8 {
  position: relative;
  margin-bottom: .2rem;
  padding: .15rem;
  height: 25px;
  display: flex;
  align-items: center
}

.aspect-preview-box.svelte-15in4s8.svelte-15in4s8 {
  border-radius: .2rem;
  transition: all .2s ease;
  background: #6b7280;
  min-width: 1rem;
  min-height: 1rem
}

.aspect-preview-box.selected-box.svelte-15in4s8.svelte-15in4s8 {
  border-color: #8b5cf6;
  background: #8b5cf6
}

.aspect-ratio-label.svelte-15in4s8.svelte-15in4s8 {
  font-size: .65em;
  font-weight: 500;
  transition: color .2s ease;
  color: #a0a0a0;
  text-align: center;
  line-height: 1.2
}

.aspect-ratio-label.selected-label.svelte-15in4s8.svelte-15in4s8 {
  color: #fff
}

.disabled.svelte-15in4s8 .aspect-ratio-label.svelte-15in4s8 {
  color: #666
}

.switch-container.svelte-njtvxt.svelte-njtvxt {
  display: flex;
  align-items: center
}

.switch-label.svelte-njtvxt.svelte-njtvxt {
  margin-right: .75rem;
  color: #d1d5db
}

.switch-label-sm.svelte-njtvxt.svelte-njtvxt {
  font-size: .75rem
}

.switch-label-md.svelte-njtvxt.svelte-njtvxt {
  font-size: .875rem
}

.switch-label-lg.svelte-njtvxt.svelte-njtvxt {
  font-size: 1rem
}

.switch.svelte-njtvxt.svelte-njtvxt {
  padding: 0 1px;
  position: relative;
  display: inline-block;
  border-radius: 999px
}

.switch.svelte-njtvxt input.svelte-njtvxt {
  opacity: 0;
  width: 0;
  height: 0
}

.slider.svelte-njtvxt.svelte-njtvxt {
  position: absolute;
  cursor: pointer;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #32303f;
  border-radius: 999px;
  border: 1px solid rgba(80, 80, 81, .5);
  box-sizing: border-box
}

.slider-checked.svelte-njtvxt.svelte-njtvxt {
  background-color: #62c36d !important;
  border-color: #62c36d !important
}

.slider.svelte-njtvxt.svelte-njtvxt:before {
  position: absolute;
  content: "";
  left: var(--thumb-margin);
  width: var(--thumb-size);
  height: var(--thumb-size);
  aspect-ratio: 1 / 1;
  top: 0;
  bottom: 0;
  margin: auto;
  background-color: #fff;
  transition: .3s;
  border-radius: 999px;
  box-shadow: 0 2px 4px #000
}

input.svelte-njtvxt:checked+.slider.svelte-njtvxt:before {
  transform: translate(var(--thumb-offset))
}

.prompt-container.svelte-15adszc {
  display: flex;
  flex-direction: column;
  gap: .5em;
  margin-bottom: .5em
}

.prompt-header.svelte-15adszc {
  display: flex;
  justify-content: space-between;
  align-items: center
}

.prompt-label.svelte-15adszc {
  font-size: .85em;
  color: #d0d0d0;
  font-weight: 500
}

.prompt-input-container.svelte-15adszc {
  position: relative;
  background: rgba(0, 0, 0, .1);
  border-radius: .5rem;
  border: 1px solid rgba(255, 255, 255, .2);
  overflow: hidden;
  transition: all .2s ease
}

.prompt-input-container.svelte-15adszc:focus-within {
  border-color: #8b5cf6;
  background: rgba(0, 0, 0, .1)
}

.prompt-textarea.svelte-15adszc {
  box-sizing: border-box;
  width: 100%;
  padding: .8em;
  border: none;
  background: transparent;
  color: #e0e0e0;
  resize: vertical;
  font-family: inherit;
  font-size: .9em
}

.prompt-textarea.svelte-15adszc:focus {
  outline: none
}

.prompt-textarea.svelte-15adszc::-moz-placeholder {
  color: #a0a0a0
}

.prompt-textarea.svelte-15adszc::placeholder {
  color: #a0a0a0
}

.prompt-actions.svelte-15adszc {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .3em .8em;
  border: none;
  background: transparent
}

.char-counter.svelte-15adszc {
  font-size: .75em;
  color: #a0a0a0
}

.modal-backdrop.svelte-1rmfk30 {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background-color: #00000080;
  backdrop-filter: blur(4px);
  transition: opacity .3s
}

.modal-content.svelte-1rmfk30 {
  background-color: #232425;
  border: 1px solid #ffffff10;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px #0000001a, 0 10px 10px -5px #0000000a;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s
}

.modal-sm.svelte-1rmfk30 {
  max-width: 24rem
}

.modal-md.svelte-1rmfk30 {
  max-width: 28rem
}

.modal-lg.svelte-1rmfk30 {
  max-width: 32rem
}

.modal-xl.svelte-1rmfk30 {
  max-width: 36rem
}

.modal-2xl.svelte-1rmfk30 {
  max-width: 42rem
}

.modal-3xl.svelte-1rmfk30 {
  max-width: 48rem
}

.modal-4xl.svelte-1rmfk30 {
  max-width: 56rem
}

.modal-5xl.svelte-1rmfk30 {
  max-width: 64rem
}

.modal-6xl.svelte-1rmfk30 {
  max-width: 72rem
}

.modal-7xl.svelte-1rmfk30 {
  max-width: 80rem
}

.modal-full.svelte-1rmfk30 {
  max-width: 100%
}

.modal-header.svelte-1rmfk30 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid #ffffff10
}

.modal-title.svelte-1rmfk30 {
  font-size: 1.125rem;
  font-weight: 500;
  color: #fff;
  margin: 0
}

.modal-close-btn.svelte-1rmfk30 {
  color: #9ca3af;
  background: none;
  border: none;
  cursor: pointer;
  padding: .25rem;
  outline: none;
  transition: color .2s
}

.modal-close-btn.svelte-1rmfk30:hover {
  color: #fff
}

.modal-close-icon.svelte-1rmfk30 {
  width: 1.25rem;
  height: 1.25rem
}

.modal-body.svelte-1rmfk30 {
  flex: 1;
  overflow: auto;
  padding: 1rem;
  color: #fff;
  font-size: 14px
}

.modal-footer.svelte-1rmfk30 {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(80, 80, 81, .3)
}

.fade-enter.svelte-1rmfk30,
.fade-leave-to.svelte-1rmfk30 {
  opacity: 0
}

.fade-enter-active.svelte-1rmfk30,
.fade-leave-active.svelte-1rmfk30 {
  transition: opacity .2s ease
}

.scale-enter.svelte-1rmfk30,
.scale-leave-to.svelte-1rmfk30 {
  transform: scale(.95)
}

.scale-enter-active.svelte-1rmfk30,
.scale-leave-active.svelte-1rmfk30 {
  transition: transform .2s ease
}

.library-container.svelte-w22tsr.svelte-w22tsr {
  display: flex;
  height: 100%;
  background-color: #1a1a1b;
  color: #fff
}

.sidebar.svelte-w22tsr.svelte-w22tsr {
  box-sizing: border-box;
  width: 12rem;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #ffffff10;
  max-height: 100%;
  overflow: hidden
}

.search-container.svelte-w22tsr.svelte-w22tsr {
  padding: .5rem;
  border-bottom: 1px solid #ffffff10;
  flex-shrink: 0
}

.search-input-wrapper.svelte-w22tsr.svelte-w22tsr {
  position: relative
}

.search-input-wrapper.svelte-w22tsr .search-icon {
  position: absolute;
  left: .5rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  width: .75rem;
  height: .75rem
}

.search-input.svelte-w22tsr.svelte-w22tsr {
  width: 100%;
  background-color: #2a2a2b;
  color: #fff;
  padding: .375rem .5rem .375rem 1.75rem;
  border-radius: .25rem;
  font-size: .75rem;
  border: 1px solid #ffffff10;
  outline: none;
  box-sizing: border-box
}

.search-input.svelte-w22tsr.svelte-w22tsr:focus {
  border-color: #ffffff20
}

.categories-container.svelte-w22tsr.svelte-w22tsr {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0
}

.categories-list.svelte-w22tsr.svelte-w22tsr {
  padding: 10px
}

.category-button.svelte-w22tsr.svelte-w22tsr {
  width: 100%;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem;
  border-radius: .25rem;
  margin-bottom: .25rem;
  transition: all .2s ease;
  color: #ddd;
  background: none;
  border: none;
  cursor: pointer
}

.category-button.svelte-w22tsr.svelte-w22tsr:hover {
  background-color: #32303f;
  color: #f8df5a
}

.category-button.active.svelte-w22tsr.svelte-w22tsr {
  color: #f8df5a;
  background-color: #32303f
}

.category-icon.svelte-w22tsr.svelte-w22tsr {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0
}

.category-name.svelte-w22tsr.svelte-w22tsr {
  font-size: .75rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left
}

.content-area.svelte-w22tsr.svelte-w22tsr {
  flex: 1;
  display: flex;
  flex-direction: column
}

.gallery-container.svelte-w22tsr.svelte-w22tsr {
  flex: 1;
  padding: 1rem;
  overflow-y: auto
}

.gallery-grid.svelte-w22tsr.svelte-w22tsr {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem
}

@media (min-width: 768px) {
  .gallery-grid.svelte-w22tsr.svelte-w22tsr {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (min-width: 1024px) {
  .gallery-grid.svelte-w22tsr.svelte-w22tsr {
    grid-template-columns: repeat(3, 1fr)
  }
}

@media (min-width: 1280px) {
  .gallery-grid.svelte-w22tsr.svelte-w22tsr {
    grid-template-columns: repeat(4, 1fr)
  }
}

.gallery-card.svelte-w22tsr.svelte-w22tsr {
  position: relative;
  background-color: #232425;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  transition: all .3s ease;
  border: 1px solid #505051
}

.gallery-card.svelte-w22tsr.svelte-w22tsr:hover {
  border-color: #f8df5a;
  box-shadow: 0 25px 50px -12px #f8df5a26
}

.image-container.svelte-w22tsr.svelte-w22tsr {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden
}

.gallery-image.svelte-w22tsr.svelte-w22tsr {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  transition: transform .5s ease
}

.gallery-card.svelte-w22tsr:hover .gallery-image.svelte-w22tsr {
  transform: scale(1.1)
}

.image-overlay.svelte-w22tsr.svelte-w22tsr {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .8), transparent, transparent)
}

.featured-badge-container.svelte-w22tsr.svelte-w22tsr {
  position: absolute;
  top: 1rem;
  left: 1rem
}

.featured-badge.svelte-w22tsr.svelte-w22tsr {
  background: linear-gradient(to right, #f8df5a, #faa61a);
  color: #1a1a1b;
  padding: .25rem .75rem;
  border-radius: 9999px;
  font-size: .75rem;
  font-weight: 700;
  box-shadow: 0 10px 15px -3px #f8df5a33, 0 4px 6px -2px #f8df5a1a
}

.card-info.svelte-w22tsr.svelte-w22tsr {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem
}

.card-title.svelte-w22tsr.svelte-w22tsr {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.25;
  margin-bottom: .25rem;
  filter: drop-shadow(0 10px 8px rgb(0 0 0 / .04)) drop-shadow(0 4px 3px rgb(0 0 0 / .1))
}

.card-category.svelte-w22tsr.svelte-w22tsr {
  color: #d1d5db;
  font-size: .875rem;
  opacity: .9
}

.loading-container.svelte-w22tsr.svelte-w22tsr {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 300px
}

.loading-spinner.svelte-w22tsr.svelte-w22tsr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: #9ca3af
}

.spinner.svelte-w22tsr.svelte-w22tsr {
  width: 2rem;
  height: 2rem;
  animation: svelte-w22tsr-spin 1s linear infinite
}

.spinner-circle.svelte-w22tsr.svelte-w22tsr {
  opacity: .25
}

.spinner-path.svelte-w22tsr.svelte-w22tsr {
  opacity: .75
}

@keyframes svelte-w22tsr-spin {
  0% {
    transform: rotate(0)
  }

  to {
    transform: rotate(360deg)
  }
}

.empty-container.svelte-w22tsr.svelte-w22tsr {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 300px;
  color: #9ca3af;
  text-align: center
}

.content-area.svelte-w22tsr.svelte-w22tsr {
  min-height: 0
}

.tooltip-container.svelte-oe7mqu {
  position: relative;
  display: inline-block;
  vertical-align: middle
}

.tooltip-icon.svelte-oe7mqu {
  cursor: pointer;
  color: var(--icon-color);
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--icon-size) + 4px);
  height: calc(var(--icon-size) + 4px);
  border-radius: 50%;
  transition: background-color .2s
}

.tooltip-icon.svelte-oe7mqu:hover,
.tooltip-icon.svelte-oe7mqu:focus {
  background-color: #ffffff1a;
  outline: none
}

.tooltip-trigger.svelte-oe7mqu {
  cursor: pointer;
  display: inline-block;
  outline: none
}

.tooltip-content.svelte-oe7mqu {
  position: fixed;
  z-index: 1000000;
  background-color: #54647410;
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  box-shadow: 0 4px 6px #0000004d;
  font-size: 14px;
  line-height: 1.4;
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(50px)
}

.tooltip-arrow.svelte-oe7mqu {
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: #0e0e24;
  background-color: #54647410;
  border: 1px solid rgba(255, 255, 255, .2);
  transform: rotate(45deg);
  backdrop-filter: blur(50px)
}

.tooltip-arrow.top.svelte-oe7mqu {
  bottom: -5px;
  left: 50%;
  margin-left: -4px;
  border-top: none;
  border-left: none
}

.tooltip-arrow.right.svelte-oe7mqu {
  left: -5px;
  top: 50%;
  margin-top: -4px;
  border-right: none;
  border-top: none
}

.tooltip-arrow.bottom.svelte-oe7mqu {
  top: -5px;
  left: 50%;
  margin-left: -4px;
  border-bottom: none;
  border-right: none
}

.tooltip-arrow.left.svelte-oe7mqu {
  right: -5px;
  top: 50%;
  margin-top: -4px;
  border-left: none;
  border-bottom: none
}

.lora-container.svelte-l2mle4 {
  position: relative
}

.lora-selector.disabled.svelte-l2mle4 {
  pointer-events: none;
  opacity: .6
}

.cards-container.svelte-l2mle4 {
  display: flex;
  gap: .75rem;
  align-items: flex-start
}

.card-wrapper.svelte-l2mle4 {
  position: relative;
  display: inline-block
}

.card-image-container.svelte-l2mle4 {
  width: 4rem;
  height: 5rem;
  border-radius: .5rem;
  overflow: hidden;
  cursor: pointer;
  transition: all .2s ease;
  box-shadow: 0 10px 15px -3px #0000001a, 0 4px 6px -2px #0000000d
}

.card-image-container.svelte-l2mle4:hover {
  transform: scale(1.05)
}

.card-image-container.hovered.svelte-l2mle4 {
  box-shadow: 0 25px 50px -12px #3b82f680
}

.card-image-container.disabled.svelte-l2mle4 {
  opacity: .5
}

.card-image.svelte-l2mle4 {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover
}

.weight-label.svelte-l2mle4 {
  position: absolute;
  bottom: .25rem;
  left: .25rem;
  background-color: #000000b3;
  color: #fff;
  font-size: .75rem;
  padding: .125rem .25rem;
  border-radius: .25rem
}

.delete-button.svelte-l2mle4 {
  position: absolute;
  top: -.5rem;
  right: -.5rem;
  width: 1.5rem;
  height: 1.5rem;
  background-color: #ef4444;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  transition: background-color .2s ease;
  z-index: 60;
  border: none
}

.delete-button.svelte-l2mle4:hover {
  background-color: #dc2626
}

.weight-display.svelte-l2mle4 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .75rem
}

.weight-label-text.svelte-l2mle4 {
  font-size: .875rem;
  color: #d1d5db
}

.weight-value.svelte-l2mle4 {
  background-color: #505051;
  padding: .25rem .5rem;
  border-radius: .25rem;
  font-size: .875rem;
  color: #f8df5a
}

.weight-slider-container.svelte-l2mle4 {
  margin-bottom: .75rem
}

.weight-slider.svelte-l2mle4 {
  width: 100%;
  height: .5rem;
  background-color: #505051;
  border-radius: .5rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer
}

.card-title.svelte-l2mle4 {
  font-size: .875rem;
  color: #eee;
  line-height: 1.25
}

.add-button.svelte-l2mle4 {
  width: 4rem;
  height: 5rem;
  border: 2px dashed #4b5563;
  border-radius: .5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .2s ease
}

.add-button.svelte-l2mle4:hover {
  background: rgba(139, 92, 246, .05);
  border-color: #8b5cf6
}

.add-icon.svelte-l2mle4 {
  color: #9ca3af;
  font-size: 1.5rem
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f8df5a;
  cursor: pointer;
  border: 2px solid #232425;
  box-shadow: 0 2px 6px #f8df5a4d;
  -webkit-transition: all .2s ease;
  transition: all .2s ease
}

.slider::-webkit-slider-thumb:hover {
  background: #faa61a;
  box-shadow: 0 4px 12px #f8df5a80;
  transform: scale(1.1)
}

.slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f8df5a;
  cursor: pointer;
  border: 2px solid #232425;
  box-shadow: 0 2px 6px #f8df5a4d
}

.crop-container.svelte-yn8l0a {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 60vh;
  background: #374151;
  border-radius: .5rem;
  overflow: hidden;
  transform: translateZ(0);
  will-change: transform
}

.image-wrapper.svelte-yn8l0a {
  will-change: transform;
  transition: transform .05s linear;
  cursor: grab;
  transform-style: preserve-3d;
  backface-visibility: hidden
}

.image-wrapper.dragging.svelte-yn8l0a {
  transition: none;
  cursor: grabbing
}

.image-wrapper.svelte-yn8l0a:active {
  cursor: grabbing
}

.crop-image.svelte-yn8l0a {
  display: block;
  width: auto;
  height: auto;
  transform: translateZ(0);
  will-change: transform;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none
}

.crop-box.svelte-yn8l0a {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 9999px #00000080;
  cursor: move;
  z-index: 10
}

.crop-handle.svelte-yn8l0a {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #ffffff;
  border-radius: 50%
}

.crop-handle-nw.svelte-yn8l0a {
  top: -4px;
  left: -4px;
  cursor: nw-resize
}

.crop-handle-ne.svelte-yn8l0a {
  top: -4px;
  right: -4px;
  cursor: ne-resize
}

.crop-handle-sw.svelte-yn8l0a {
  bottom: -4px;
  left: -4px;
  cursor: sw-resize
}

.crop-handle-se.svelte-yn8l0a {
  bottom: -4px;
  right: -4px;
  cursor: se-resize
}

.controls.svelte-yn8l0a {
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem
}

.control-group.svelte-yn8l0a {
  display: flex;
  flex-direction: column;
  gap: .5rem
}

.control-label.svelte-yn8l0a {
  font-size: .875rem;
  font-weight: 500;
  color: #fff
}

.constraint-status.svelte-yn8l0a {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: .5rem;
  background: rgba(255, 255, 255, .05);
  border-radius: .375rem;
  font-size: .75rem
}

.constraint-item.svelte-yn8l0a {
  color: #9ca3af;
  font-family: monospace
}

.boundary-status.svelte-yn8l0a {
  display: flex;
  gap: .5rem;
  margin-top: .5rem;
  padding-top: .5rem;
  border-top: 1px solid rgba(255, 255, 255, .1)
}

.boundary-item.svelte-yn8l0a {
  padding: .25rem .5rem;
  background: rgba(156, 163, 175, .1);
  border-radius: .25rem;
  font-size: .75rem;
  color: #9ca3af;
  transition: all .2s
}

.boundary-item.at-boundary.svelte-yn8l0a {
  background: rgba(239, 68, 68, .2);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, .3)
}

.zoom-control.svelte-yn8l0a {
  display: flex;
  align-items: center;
  gap: .75rem
}

.zoom-icon.svelte-yn8l0a {
  color: #9ca3af;
  font-weight: 700;
  font-size: 1.125rem;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none
}

.zoom-slider.svelte-yn8l0a {
  flex: 1;
  height: 4px;
  background: #374151;
  border-radius: 2px;
  outline: none;
  -webkit-appearance: none
}

.zoom-slider.svelte-yn8l0a::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  background: #8b5cf6;
  border-radius: 50%;
  cursor: pointer
}

.zoom-slider.svelte-yn8l0a::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: #8b5cf6;
  border-radius: 50%;
  cursor: pointer;
  border: none
}

.zoom-debug.svelte-yn8l0a {
  margin-top: .5rem;
  padding-top: .5rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .75rem;
  color: #9ca3af
}

.quality-selector.svelte-yn8l0a {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap
}

.quality-btn.svelte-yn8l0a {
  padding: .4rem .8rem;
  border: 1px solid #374151;
  border-radius: .375rem;
  background: #374151;
  color: #9ca3af;
  font-size: .75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap
}

.quality-btn.svelte-yn8l0a:hover {
  background: #374151;
  color: #fff
}

.quality-btn.active.svelte-yn8l0a {
  background: #8b5cf6;
  color: #fff;
  border-color: #8b5cf6
}

.modal-footer.svelte-yn8l0a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem
}

.button-group.svelte-yn8l0a {
  display: flex;
  gap: .75rem;
  align-items: center
}

.btn.svelte-yn8l0a {
  padding: .5rem 1rem;
  border: none;
  border-radius: .375rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
  min-width: 5rem
}

.btn-primary.svelte-yn8l0a {
  background: #8b5cf6;
  color: #fff
}

.btn-primary.svelte-yn8l0a:hover {
  background: #db2777
}

.btn-secondary.svelte-yn8l0a {
  background: #374151;
  color: #fff
}

.btn-secondary.svelte-yn8l0a:hover {
  background: #4b5563
}

@media (max-width: 768px) {
  .crop-container.svelte-yn8l0a {
    height: 40vh
  }

  .controls.svelte-yn8l0a {
    gap: .75rem
  }

  .modal-footer.svelte-yn8l0a {
    flex-direction: column;
    gap: .75rem
  }

  .button-group.svelte-yn8l0a {
    flex-direction: row;
    gap: .5rem;
    width: 100%;
    justify-content: center
  }

  .btn.svelte-yn8l0a {
    flex: 1;
    min-width: auto;
    padding: .5rem .75rem;
    font-size: .875rem
  }
}

.multi-image-uploader.svelte-zzdi.svelte-zzdi {
  all: initial;
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  box-sizing: border-box;
  font-size: 14px;
  line-height: 1.4;
  color: inherit
}

.multi-image-uploader.svelte-zzdi .svelte-zzdi {
  box-sizing: border-box
}

.multi-image-uploader.svelte-zzdi .svelte-zzdi:before,
.multi-image-uploader.svelte-zzdi .svelte-zzdi:after {
  box-sizing: border-box
}

.multi-image-uploader.svelte-zzdi .image-slots.svelte-zzdi {
  display: grid !important;
  grid-template-columns: repeat(var(--cards-per-row, 1), 1fr) !important;
  gap: 1rem !important;
  align-items: start !important;
  width: 100% !important;
  box-sizing: border-box !important;
  position: relative !important
}

.multi-image-uploader.svelte-zzdi .image-slot-wrapper.svelte-zzdi {
  position: relative;
  display: flex;
  align-items: center;
  gap: .5rem
}

.multi-image-uploader.svelte-zzdi .image-slot.svelte-zzdi {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 1 !important;
  height: auto !important;
  min-height: 100% !important;
  border: 2px dashed rgba(255, 255, 255, .3) !important;
  border-radius: .75rem 12px !important;
  background: rgba(0, 0, 0, .1) !important;
  transition: all .2s ease !important;
  overflow: hidden !important;
  flex: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 !important
}

.image-slot.svelte-zzdi.svelte-zzdi:hover:not(.disabled):not(.readonly) {
  border-color: #8b5cf699;
  background: rgba(139, 92, 246, .05)
}

.image-slot.required.svelte-zzdi.svelte-zzdi {
  border-color: #8b5cf699
}

.image-slot.optional.svelte-zzdi.svelte-zzdi {
  border-color: #6b7280
}

.image-slot.has-image.svelte-zzdi.svelte-zzdi {
  border-style: solid;
  border-color: #10b981;
  background: linear-gradient(135deg, rgba(16, 185, 129, .1), rgba(16, 185, 129, .05))
}

.image-slot.drag-over.svelte-zzdi.svelte-zzdi {
  border-color: #3b82f6;
  background: linear-gradient(135deg, rgba(59, 130, 246, .2), rgba(59, 130, 246, .1));
  transform: scale(1.02)
}

.image-slot.error.svelte-zzdi.svelte-zzdi {
  border-color: #ef4444;
  background: linear-gradient(135deg, rgba(239, 68, 68, .2), rgba(239, 68, 68, .1));
  animation: svelte-zzdi-shake .5s ease-in-out
}

.multi-image-uploader.svelte-zzdi .swap-btn.svelte-zzdi {
  position: absolute !important;
  right: -22px !important;
  top: -22px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 22px !important;
  background: rgba(139, 92, 246, .1) !important;
  border: 1px solid rgba(139, 92, 246, .3) !important;
  border-radius: 50% !important;
  color: #a855f7 !important;
  cursor: pointer !important;
  transition: all .2s ease !important;
  z-index: 10 !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: inherit !important;
  line-height: 1 !important
}

.swap-btn.svelte-zzdi.svelte-zzdi:hover:not(:disabled) {
  background: rgba(139, 92, 246, .2);
  border-color: #8b5cf680;
  transform: scale(1.1)
}

.swap-btn.svelte-zzdi.svelte-zzdi:disabled {
  opacity: .5;
  cursor: not-allowed
}

.swap-btn.svelte-zzdi svg.svelte-zzdi {
  width: 15px;
  height: 15px;
  color: #a855f7
}

.upload-placeholder.svelte-zzdi.svelte-zzdi {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  padding: 1rem;
  text-align: center;
  line-height: 1em
}

.upload-progress.svelte-zzdi.svelte-zzdi {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem
}

.circular-progress.svelte-zzdi.svelte-zzdi {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center
}

.progress-ring.svelte-zzdi.svelte-zzdi {
  transform: rotate(-90deg)
}

.progress-ring-circle-bg.svelte-zzdi.svelte-zzdi {
  transition: stroke-dasharray .1s ease
}

.progress-ring-circle.svelte-zzdi.svelte-zzdi {
  transition: stroke-dashoffset .1s ease;
  stroke-linecap: round
}

.progress-text.svelte-zzdi.svelte-zzdi {
  position: absolute;
  font-size: .8rem;
  font-weight: 600;
  color: #8b5cf6
}

.upload-status.svelte-zzdi.svelte-zzdi {
  font-size: .7rem;
  color: #9ca3af;
  font-weight: 500
}

.upload-icon.svelte-zzdi.svelte-zzdi {
  position: relative;
  width: 20px;
  height: 20px;
  margin-bottom: .4rem;
  color: #9ca3af
}

.upload-icon.svelte-zzdi svg.svelte-zzdi {
  width: 100%;
  height: 100%
}

.upload-text.svelte-zzdi.svelte-zzdi {
  margin-bottom: .4rem;
  font-size: .8rem
}

.required-text.svelte-zzdi.svelte-zzdi {
  color: #8b5cf699;
  font-weight: 500;
  font-size: .8rem
}

.optional-text.svelte-zzdi.svelte-zzdi {
  color: #9ca3af;
  font-size: .8rem
}

.file-input.svelte-zzdi.svelte-zzdi {
  position: absolute;
  opacity: 0;
  pointer-events: none
}

.upload-trigger.svelte-zzdi.svelte-zzdi {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  cursor: pointer;
  z-index: 1
}

.upload-trigger.disabled.svelte-zzdi.svelte-zzdi {
  cursor: not-allowed
}

.multi-image-uploader.svelte-zzdi .image-preview.svelte-zzdi {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important
}

.multi-image-uploader.svelte-zzdi .image-preview img.svelte-zzdi {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  -o-object-fit: contain !important;
  object-fit: contain !important;
  display: block !important;
  vertical-align: middle !important
}

.image-overlay.svelte-zzdi.svelte-zzdi {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, .7);
  opacity: 0;
  transition: opacity .2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: .75rem
}

.image-actions.svelte-zzdi.svelte-zzdi {
  display: flex;
  gap: .5rem;
  align-self: flex-end
}

.image-preview.svelte-zzdi:hover .image-overlay.svelte-zzdi {
  opacity: 1
}

.image-info.svelte-zzdi.svelte-zzdi {
  color: #fff
}

.image-name.svelte-zzdi.svelte-zzdi {
  display: block;
  font-size: .7rem;
  font-weight: 500;
  margin-bottom: .2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.image-size.svelte-zzdi.svelte-zzdi {
  display: block;
  font-size: .6rem;
  color: #d1d5db
}

.remove-btn.svelte-zzdi.svelte-zzdi {
  align-self: flex-end;
  width: 32px;
  height: 32px;
  background: #ef4444;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .2s ease
}

.remove-btn.svelte-zzdi.svelte-zzdi:hover {
  background: #dc2626
}

.remove-btn.svelte-zzdi.svelte-zzdi:disabled {
  background: #6b7280;
  cursor: not-allowed
}

.view-btn.svelte-zzdi.svelte-zzdi {
  width: 32px;
  height: 32px;
  background: rgba(59, 130, 246, .1);
  color: #3b82f6;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease
}

.view-btn.svelte-zzdi.svelte-zzdi:hover {
  background: rgba(59, 130, 246, .2);
  transform: scale(1.05)
}

.view-btn.svelte-zzdi svg.svelte-zzdi {
  width: 10px;
  height: 10px
}

.error-message.svelte-zzdi.svelte-zzdi {
  color: #ef4444;
  font-size: .7rem;
  text-align: center;
  margin-top: .5rem;
  padding: .5rem;
  background: rgba(239, 68, 68, .1);
  border-radius: .5rem
}

.sr-only.svelte-zzdi.svelte-zzdi {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}

@keyframes svelte-zzdi-shake {

  0%,
  to {
    transform: translate(0)
  }

  25% {
    transform: translate(-5px)
  }

  75% {
    transform: translate(5px)
  }
}

.preview-modal-overlay.svelte-zzdi.svelte-zzdi {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, .8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem
}

.preview-modal.svelte-zzdi.svelte-zzdi {
  background: #1f2937;
  border-radius: .75rem;
  border: 1px solid #374151;
  max-width: 90vw;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px #00000080
}

.preview-modal-header.svelte-zzdi.svelte-zzdi {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #374151
}

.preview-modal-header.svelte-zzdi h3.svelte-zzdi {
  margin: 0;
  color: #e5e7eb;
  font-size: 1.125rem;
  font-weight: 500
}

.close-btn.svelte-zzdi.svelte-zzdi {
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: .5rem;
  border-radius: .375rem;
  transition: all .2s ease
}

.close-btn.svelte-zzdi.svelte-zzdi:hover {
  background: rgba(255, 255, 255, .1);
  color: #e5e7eb
}

.preview-modal-content.svelte-zzdi.svelte-zzdi {
  padding: 1rem;
  text-align: center
}

.preview-modal-content.svelte-zzdi img.svelte-zzdi {
  max-width: 100%;
  max-height: 60vh;
  -o-object-fit: contain;
  object-fit: contain;
  border-radius: .5rem;
  margin-bottom: 1rem
}

@media (max-width: 1024px) {
  .multi-image-uploader.svelte-zzdi .image-slots.svelte-zzdi {
    grid-template-columns: repeat(var(--cards-per-row-tablet, 3), 1fr) !important
  }
}

@media (max-width: 768px) {
  .multi-image-uploader.svelte-zzdi .image-slots.svelte-zzdi {
    grid-template-columns: repeat(var(--cards-per-row-tablet, 2), 1fr) !important
  }
}

@media (max-width: 640px) {
  .multi-image-uploader.svelte-zzdi .image-slots.svelte-zzdi {
    grid-template-columns: repeat(var(--cards-per-row-mobile, 1), 1fr) !important
  }

  .multi-image-uploader.svelte-zzdi .image-slot-wrapper.svelte-zzdi {
    flex-direction: column !important;
    gap: .25rem !important
  }

  .multi-image-uploader.svelte-zzdi .image-slot.svelte-zzdi {
    height: 180px !important;
    min-height: 180px !important
  }

  .multi-image-uploader.svelte-zzdi .swap-btn.svelte-zzdi {
    width: 28px !important;
    height: 28px !important
  }

  .multi-image-uploader.svelte-zzdi .swap-btn svg.svelte-zzdi {
    width: 10px !important;
    height: 10px !important
  }

  .multi-image-uploader.svelte-zzdi .circular-progress.svelte-zzdi {
    transform: scale(.6) !important
  }

  .multi-image-uploader.svelte-zzdi .progress-text.svelte-zzdi {
    font-size: .7rem !important
  }

  .multi-image-uploader.svelte-zzdi .upload-status.svelte-zzdi {
    font-size: .6rem !important
  }
}

.coco-radio-group.svelte-1nni638.svelte-1nni638 {
  display: flex;
  gap: 12px
}

.coco-radio-wrapper-disabled.svelte-1nni638.svelte-1nni638 {
  opacity: .5;
  cursor: not-allowed
}

.coco-radio-disabled.svelte-1nni638.svelte-1nni638 {
  opacity: .5
}

.coco-radio-wrapper.svelte-1nni638.svelte-1nni638 {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: border .2s;
  background: none
}

.coco-radio-wrapper-block.svelte-1nni638.svelte-1nni638 {
  flex: 1
}

.coco-radio.svelte-1nni638.svelte-1nni638 {
  position: relative;
  display: flex;
  align-items: center;
  margin-right: 6px
}

.coco-radio-input.svelte-1nni638.svelte-1nni638 {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0
}

.coco-radio-inner.svelte-1nni638.svelte-1nni638 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #d1d5db30;
  background: #ffffff10;
  transition: border-color .2s;
  box-sizing: border-box
}

.coco-radio-checked.svelte-1nni638 .coco-radio-inner.svelte-1nni638 {
  border-color: #8b5cf6;
  background: #8b5cf6
}

.coco-radio-checked.svelte-1nni638 .coco-radio-inner.svelte-1nni638:after {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff
}

.text-sm.svelte-1nni638.svelte-1nni638 {
  color: #fff;
  font-size: .875rem
}

.segmented-control.svelte-8s9rjn.svelte-8s9rjn {
  width: 100%;
  font-size: .875rem;
  font-weight: 600;
  color: #9ca3af
}

.segmented-control.disabled.svelte-8s9rjn.svelte-8s9rjn {
  opacity: .5;
  pointer-events: none
}

.segmented-group.svelte-8s9rjn.svelte-8s9rjn {
  display: flex;
  background-color: #374151;
  border-radius: .5rem;
  padding: .25rem;
  gap: .25rem
}

.segmented-item.svelte-8s9rjn.svelte-8s9rjn {
  position: relative;
  flex: 1;
  cursor: pointer
}

.segmented-item-input.svelte-8s9rjn.svelte-8s9rjn {
  position: absolute;
  opacity: 0;
  pointer-events: none
}

.segmented-item-label.svelte-8s9rjn.svelte-8s9rjn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .5rem 1rem;
  border-radius: .375rem;
  transition: all .2s ease;
  color: #9ca3af;
  background-color: transparent
}

.segmented-item.selected.svelte-8s9rjn .segmented-item-label.svelte-8s9rjn {
  background-color: #8b5cf6;
  color: #f9fafb;
  box-shadow: 0 1px 3px #0000001a
}

.segmented-item.svelte-8s9rjn:not(.selected):hover .segmented-item-label.svelte-8s9rjn {
  color: #d1d5db
}

.segmented-item.svelte-8s9rjn span.svelte-8s9rjn {
  font-weight: 600
}

.segmented-item.disabled.svelte-8s9rjn.svelte-8s9rjn {
  opacity: .5;
  cursor: not-allowed
}

.segmented-item.disabled.svelte-8s9rjn .segmented-item-label.svelte-8s9rjn {
  color: #666 !important;
  cursor: not-allowed
}

.input-number-group-wrapper.svelte-1t3pe9u,
.input-number-wrapper.svelte-1t3pe9u {
  display: flex;
  width: 100%
}

.input-number-group-addon.svelte-1t3pe9u {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  background: #ffffff10;
  border-radius: 6px 0 0 6px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-right: none
}

.input-number-affix-wrapper.svelte-1t3pe9u {
  display: flex;
  align-items: center;
  background: #ffffff10;
  border-radius: 0 6px 6px 0;
  border: 1px solid rgba(255, 255, 255, .2);
  flex: 1;
  transition: box-shadow .2s
}

.input-number-outlined.svelte-1t3pe9u {
  box-shadow: none
}

.input-number-input-wrap.svelte-1t3pe9u {
  flex: 1
}

.input-number-input.svelte-1t3pe9u {
  width: 100%;
  height: 36px;
  border: none;
  outline: none;
  font-size: 14px;
  color: #fff;
  background: transparent;
  padding: 0 8px;
  box-sizing: border-box
}

.input-number-input.svelte-1t3pe9u:disabled {
  background: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed
}

.input-number-suffix.svelte-1t3pe9u {
  display: flex;
  align-items: center;
  margin-right: 8px;
  cursor: pointer
}

.input-number-suffix.rotating.svelte-1t3pe9u {
  animation: svelte-1t3pe9u-rotate .5s linear
}

@keyframes svelte-1t3pe9u-rotate {
  0% {
    transform: rotate(0)
  }

  to {
    transform: rotate(360deg)
  }
}

.input-number.svelte-1t3pe9u {
  flex-grow: 1
}

.input-number-input.svelte-1t3pe9u::-webkit-outer-spin-button,
.input-number-input.svelte-1t3pe9u::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0
}

.input-number-input[type=number].svelte-1t3pe9u {
  -moz-appearance: textfield
}

.mode-selector.svelte-xu00ps.svelte-xu00ps {
  width: 100%
}

.mode-options.svelte-xu00ps.svelte-xu00ps {
  display: grid;
  gap: 8px
}

.mode-option.svelte-xu00ps.svelte-xu00ps {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  background: #374151;
  transition: all .2s ease
}

.mode-option.svelte-xu00ps.svelte-xu00ps:hover,
.mode-option.selected.svelte-xu00ps.svelte-xu00ps {
  background: #8b5cf6
}

.mode-option.disabled.svelte-xu00ps.svelte-xu00ps {
  opacity: .5;
  cursor: not-allowed
}

.mode-option.disabled.svelte-xu00ps.svelte-xu00ps:hover {
  background: #374151
}

.mode-image.svelte-xu00ps.svelte-xu00ps {
  width: 80px;
  height: auto;
  border-radius: 4px;
  flex-shrink: 0
}

@media (min-width: 768px) {
  .mode-image.svelte-xu00ps.svelte-xu00ps {
    width: 128px
  }
}

.mode-content.svelte-xu00ps.svelte-xu00ps {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1
}

.mode-title.svelte-xu00ps.svelte-xu00ps {
  display: flex;
  align-items: center;
  gap: 4px
}

.title-text.svelte-xu00ps.svelte-xu00ps {
  font-weight: 600;
  font-size: 14px;
  color: #e5e7eb
}

.new-badge.svelte-xu00ps.svelte-xu00ps {
  line-height: 1em;
  flex-shrink: 0;
  flex-grow: 0;
  background: #ef4444;
  color: #fff;
  font-size: 8px;
  padding: 4px 6px;
  border-radius: 4px;
  font-weight: 500
}

.mode-description.svelte-xu00ps.svelte-xu00ps {
  font-size: 12px;
  color: #9ca3af
}

.mode-indicator.svelte-xu00ps.svelte-xu00ps {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%
}

.mode-option.selected.svelte-xu00ps .mode-indicator.svelte-xu00ps {
  background: white
}

.check-icon.svelte-xu00ps.svelte-xu00ps {
  color: #ef4444;
  font-size: 12px;
  font-weight: 700
}

.empty-icon.svelte-xu00ps.svelte-xu00ps {
  width: 16px;
  height: 16px
}

.select-effect-container.svelte-3ehlxo.svelte-3ehlxo {
  width: 100%
}

.select-effect-button.svelte-3ehlxo.svelte-3ehlxo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 16px;
  background-color: #00366b5c;
  background-color: #32303f;
  color: #eee;
  border-radius: 8px;
  border: 1px solid #374151;
  transition: all .2s ease-in-out;
  outline: none;
  font-size: 14px;
  cursor: pointer
}

.select-effect-button.svelte-3ehlxo.svelte-3ehlxo:hover:not(.disabled):not(.readonly) {
  background-color: #32303f;
  border-color: #ffffff30
}

.select-effect-button.svelte-3ehlxo.svelte-3ehlxo:focus:not(.disabled):not(.readonly) {
  border-color: #ffffff20
}

.select-effect-button.disabled.svelte-3ehlxo.svelte-3ehlxo,
.select-effect-button.readonly.svelte-3ehlxo.svelte-3ehlxo {
  opacity: .5;
  cursor: not-allowed
}

.button-content.svelte-3ehlxo.svelte-3ehlxo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1
}

.selected-effect-image.svelte-3ehlxo.svelte-3ehlxo {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0
}

.selected-effect-image.svelte-3ehlxo img.svelte-3ehlxo,
.selected-effect-image.svelte-3ehlxo video.svelte-3ehlxo {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover
}

.button-text.svelte-3ehlxo.svelte-3ehlxo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0
}

.selected-title.svelte-3ehlxo.svelte-3ehlxo {
  color: #eee;
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px
}

.selected-subtitle.svelte-3ehlxo.svelte-3ehlxo {
  color: #ffffff59;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px
}

.placeholder-text.svelte-3ehlxo.svelte-3ehlxo {
  color: #eee;
  font-weight: 500;
  font-size: 14px
}

.arrow-icon.svelte-3ehlxo.svelte-3ehlxo {
  color: #ff3466;
  flex-shrink: 0
}

.effects-container.svelte-3ehlxo.svelte-3ehlxo {
  height: 80vh;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 20px
}

.loading-container.svelte-3ehlxo.svelte-3ehlxo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center
}

.loading-spinner.svelte-3ehlxo.svelte-3ehlxo {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  animation: svelte-3ehlxo-spin 1s linear infinite;
  margin-bottom: 20px
}

@keyframes svelte-3ehlxo-spin {
  0% {
    transform: rotate(0)
  }

  to {
    transform: rotate(360deg)
  }
}

.loading-container.svelte-3ehlxo p.svelte-3ehlxo {
  color: #666;
  font-size: 16px;
  margin: 0
}

.error-container.svelte-3ehlxo.svelte-3ehlxo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center
}

.error-message.svelte-3ehlxo.svelte-3ehlxo {
  color: #e74c3c;
  font-size: 16px;
  margin-bottom: 20px;
  text-align: center
}

.retry-button.svelte-3ehlxo.svelte-3ehlxo {
  background-color: #3498db;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color .2s
}

.retry-button.svelte-3ehlxo.svelte-3ehlxo:hover {
  background-color: #2980b9
}

.no-effects.svelte-3ehlxo.svelte-3ehlxo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center
}

.no-effects.svelte-3ehlxo p.svelte-3ehlxo {
  color: #666;
  font-size: 16px;
  margin: 0
}

.top-bar.svelte-3ehlxo.svelte-3ehlxo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 0 20px
}

.categories-container.svelte-3ehlxo.svelte-3ehlxo {
  display: flex;
  gap: 10px;
  flex-wrap: wrap
}

.category-button.svelte-3ehlxo.svelte-3ehlxo {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 20px;
  line-height: 1rem;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #eee;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap
}

.category-button.svelte-3ehlxo.svelte-3ehlxo:hover:not(.active) {
  background-color: #fff3;
  border-color: #ffffff4d
}

.category-button.active.svelte-3ehlxo.svelte-3ehlxo {
  background-color: #2563eb;
  border-color: #2563eb;
  color: #fff
}

.search-container.svelte-3ehlxo.svelte-3ehlxo {
  margin-bottom: 20px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 10px
}

.search-container.svelte-3ehlxo.svelte-3ehlxo:empty {
  display: none
}

.search-toggle-btn.svelte-3ehlxo.svelte-3ehlxo {
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all .2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, .1)
}

.search-toggle-btn.svelte-3ehlxo.svelte-3ehlxo:hover:not(:disabled) {
  color: #e0e0e0;
  background: rgba(255, 255, 255, .1);
  border-color: #fff3
}

.search-toggle-btn.svelte-3ehlxo.svelte-3ehlxo:disabled {
  opacity: 0;
  cursor: default
}

.search-input-wrapper.svelte-3ehlxo.svelte-3ehlxo {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
  padding: 0 16px;
  transition: all .3s ease;
  min-height: 48px;
  opacity: 0;
  transform: translate(-10px);
  animation: svelte-3ehlxo-slideIn .3s ease forwards
}

@keyframes svelte-3ehlxo-slideIn {
  to {
    opacity: 1;
    transform: translate(0)
  }
}

.search-input-wrapper.svelte-3ehlxo.svelte-3ehlxo:focus-within {
  border-color: #ff3466;
  box-shadow: 0 0 0 3px #ff34661a
}

.search-input.svelte-3ehlxo.svelte-3ehlxo {
  flex: 1;
  background: transparent;
  border: none;
  color: #e0e0e0;
  font-size: 16px;
  outline: none;
  padding: 0;
  min-width: 200px
}

.search-input.svelte-3ehlxo.svelte-3ehlxo::-moz-placeholder {
  color: #9ca3af
}

.search-input.svelte-3ehlxo.svelte-3ehlxo::placeholder {
  color: #9ca3af
}

.clear-search-btn.svelte-3ehlxo.svelte-3ehlxo {
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all .2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0
}

.clear-search-btn.svelte-3ehlxo.svelte-3ehlxo:hover:not(:disabled) {
  color: #e0e0e0;
  background: rgba(255, 255, 255, .1)
}

.clear-search-btn.visible.svelte-3ehlxo.svelte-3ehlxo {
  opacity: 1;
  pointer-events: auto
}

.clear-search-btn.hidden.svelte-3ehlxo.svelte-3ehlxo {
  opacity: 0;
  pointer-events: none
}

.clear-search-btn.svelte-3ehlxo.svelte-3ehlxo:disabled {
  opacity: 0;
  cursor: default
}

.no-results.svelte-3ehlxo.svelte-3ehlxo {
  text-align: center;
  padding: 40px 20px;
  color: #9ca3af
}

.no-results.svelte-3ehlxo p.svelte-3ehlxo {
  margin: 0 0 16px;
  font-size: 16px
}

.clear-search-link.svelte-3ehlxo.svelte-3ehlxo {
  background: none;
  border: none;
  color: #ff3466;
  cursor: pointer;
  text-decoration: underline;
  font-size: 14px;
  transition: color .2s ease
}

.clear-search-link.svelte-3ehlxo.svelte-3ehlxo:hover {
  color: #ff6b8a
}

.effects-grid.svelte-3ehlxo.svelte-3ehlxo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 20px;
  max-width: 1260px;
  margin: 0 auto;
  justify-items: center
}

.effect-card.svelte-3ehlxo.svelte-3ehlxo {
  background: #1a1a2e;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all .3s ease;
  border: 2px solid transparent;
  width: 100%;
  max-width: 320px
}

.effect-card.svelte-3ehlxo.svelte-3ehlxo:hover {
  transform: translateY(-4px);
  border-color: #ff3466;
  box-shadow: 0 8px 25px #ff34664d
}

.effect-card.svelte-3ehlxo.svelte-3ehlxo:focus {
  outline: none;
  border-color: #ff3466
}

.media-container.svelte-3ehlxo.svelte-3ehlxo {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden
}

.effect-image.svelte-3ehlxo.svelte-3ehlxo,
.effect-video.svelte-3ehlxo.svelte-3ehlxo {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  transition: transform .3s ease
}

.effect-card.svelte-3ehlxo:hover .effect-image.svelte-3ehlxo,
.effect-card.svelte-3ehlxo:hover .effect-video.svelte-3ehlxo {
  transform: scale(1.05)
}

.effect-video.svelte-3ehlxo.svelte-3ehlxo {
  background: #000;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat
}

.effect-video[poster].svelte-3ehlxo.svelte-3ehlxo {
  -o-object-fit: cover;
  object-fit: cover
}

.effect-video.svelte-3ehlxo.svelte-3ehlxo:not([src]) {
  background-image: none
}

.video-indicator.svelte-3ehlxo.svelte-3ehlxo {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, .7);
  color: #fff;
  padding: 6px;
  border-radius: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px)
}

.video-indicator.svelte-3ehlxo svg.svelte-3ehlxo {
  width: 12px;
  height: 12px
}

.media-overlay.svelte-3ehlxo.svelte-3ehlxo {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, .4) 50%, transparent 100%)
}

.featured-badge-container.svelte-3ehlxo.svelte-3ehlxo {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2
}

.featured-badge.svelte-3ehlxo.svelte-3ehlxo {
  background: #ffd700;
  color: #000;
  padding: 4px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px
}

.card-info.svelte-3ehlxo.svelte-3ehlxo {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  z-index: 2
}

.card-title.svelte-3ehlxo.svelte-3ehlxo {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px;
  line-height: 1.3
}

.card-subtitle.svelte-3ehlxo.svelte-3ehlxo {
  color: #b0b0b0;
  font-size: 13px;
  margin: 0;
  line-height: 1.2
}

@media (min-width: 1200px) {
  .effects-grid.svelte-3ehlxo.svelte-3ehlxo {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 24px
  }

  .effect-card.svelte-3ehlxo.svelte-3ehlxo {
    max-width: 300px;
    width: 100%
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  .effects-grid.svelte-3ehlxo.svelte-3ehlxo {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px
  }

  .effect-card.svelte-3ehlxo.svelte-3ehlxo {
    max-width: 320px;
    width: 100%
  }
}

@media (min-width: 600px) and (max-width: 899px) {
  .effects-grid.svelte-3ehlxo.svelte-3ehlxo {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    padding: 18px
  }

  .effect-card.svelte-3ehlxo.svelte-3ehlxo {
    max-width: 350px;
    width: 100%
  }
}

@media (max-width: 599px) {
  .effects-container.svelte-3ehlxo.svelte-3ehlxo {
    max-width: 100%;
    padding: 0
  }

  .top-bar.svelte-3ehlxo.svelte-3ehlxo {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
    padding: 0 15px
  }

  .categories-container.svelte-3ehlxo.svelte-3ehlxo {
    justify-content: center;
    gap: 8px
  }

  .category-button.svelte-3ehlxo.svelte-3ehlxo {
    font-size: 12px;
    padding: 5px 10px;
    gap: 4px
  }

  .search-container.svelte-3ehlxo.svelte-3ehlxo {
    justify-content: center;
    padding: 0
  }

  .search-input.svelte-3ehlxo.svelte-3ehlxo {
    min-width: 150px
  }

  .effects-grid.svelte-3ehlxo.svelte-3ehlxo {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
    padding: 15px
  }

  .effect-card.svelte-3ehlxo.svelte-3ehlxo {
    max-width: 100%;
    width: 100%;
    min-width: 0
  }

  .media-container.svelte-3ehlxo.svelte-3ehlxo {
    height: 140px
  }

  .card-title.svelte-3ehlxo.svelte-3ehlxo {
    font-size: 13px
  }

  .card-subtitle.svelte-3ehlxo.svelte-3ehlxo {
    font-size: 11px
  }

  .card-info.svelte-3ehlxo.svelte-3ehlxo {
    padding: 15px
  }

  .featured-badge.svelte-3ehlxo.svelte-3ehlxo {
    font-size: 10px;
    padding: 3px 6px
  }
}

@media (max-width: 480px) {
  .top-bar.svelte-3ehlxo.svelte-3ehlxo {
    padding: 0 12px
  }

  .categories-container.svelte-3ehlxo.svelte-3ehlxo {
    gap: 6px
  }

  .category-button.svelte-3ehlxo.svelte-3ehlxo {
    font-size: 11px;
    padding: 4px 8px
  }

  .effects-grid.svelte-3ehlxo.svelte-3ehlxo {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
    padding: 12px
  }

  .effect-card.svelte-3ehlxo.svelte-3ehlxo {
    max-width: 100%
  }

  .media-container.svelte-3ehlxo.svelte-3ehlxo {
    height: 120px
  }

  .card-title.svelte-3ehlxo.svelte-3ehlxo {
    font-size: 12px
  }

  .card-subtitle.svelte-3ehlxo.svelte-3ehlxo {
    font-size: 10px
  }

  .card-info.svelte-3ehlxo.svelte-3ehlxo {
    padding: 12px
  }

  .featured-badge.svelte-3ehlxo.svelte-3ehlxo {
    font-size: 9px;
    padding: 2px 5px
  }
}

.form-render.svelte-1icibur.svelte-1icibur {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border-radius: .75rem;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgb(99 109 225 / 10%);
  padding: 1.5rem 1.5rem 1rem
}

.form-header.svelte-1icibur.svelte-1icibur {
  flex-shrink: 0;
  z-index: 10
}

.header-content.svelte-1icibur.svelte-1icibur {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem
}

.header-content.svelte-1icibur h2.svelte-1icibur {
  margin: 0;
  font-weight: 600;
  color: #e0e0e0
}

.fav-btn.svelte-1icibur.svelte-1icibur {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #ffffff20;
  background: #ffffff10;
  cursor: pointer;
  transition: all .2s ease;
  color: #9ca3af
}

.fav-btn.svelte-1icibur.svelte-1icibur:hover {
  background: #ffffff1a
}

.fav-btn.active.svelte-1icibur.svelte-1icibur {
  color: #f59e0b;
  border-color: #f59e0b66;
  background: #f59e0b1a
}

.fav-btn.inactive.svelte-1icibur.svelte-1icibur {
  color: #9ca3af
}

.form-content.svelte-1icibur.svelte-1icibur {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 1em;
  margin: 0 -1em
}

.form-footer.svelte-1icibur.svelte-1icibur {
  position: relative;
  flex-shrink: 0;
  padding-top: 1em;
  border-top: .1em solid rgba(255, 255, 255, .1);
  z-index: 10
}

.form-actions.svelte-1icibur.svelte-1icibur {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1em
}

.task-cost.svelte-1icibur.svelte-1icibur {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: .5em
}

.credits-label.svelte-1icibur.svelte-1icibur,
.cost-label.svelte-1icibur.svelte-1icibur {
  font-size: .75em;
  color: #b0b0b0;
  font-weight: 500
}

.credits-value.svelte-1icibur.svelte-1icibur {
  font-size: 1.1em;
  font-weight: 700;
  color: #4ade80
}

.cost-value.svelte-1icibur.svelte-1icibur {
  font-size: 1em;
  font-weight: 600;
  color: #96ff42
}

.cost-calculating.svelte-1icibur.svelte-1icibur {
  font-size: .875em;
  color: #9ca3af
}

.spinner.svelte-1icibur.svelte-1icibur {
  width: 1rem;
  height: 1rem;
  animation: svelte-1icibur-spin 1s linear infinite
}

.submit-wrapper.svelte-1icibur.svelte-1icibur {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto
}

.submit-btn.svelte-1icibur.svelte-1icibur {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .5em 2em;
  font-size: 1em;
  font-weight: 600;
  border: none;
  background: linear-gradient(98deg, #a570ff 0%, #ff6eb2 50%, #ffad66 100%);
  border-radius: 40px;
  backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
  transition: all .3s ease;
  min-width: 10em;
  letter-spacing: .05em;
  position: relative;
  overflow: hidden
}

.submit-btn.svelte-1icibur.svelte-1icibur:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
  transition: left .5s
}

.submit-btn.svelte-1icibur.svelte-1icibur:hover:not(:disabled):before {
  left: 100%
}

.submit-btn.svelte-1icibur.svelte-1icibur:hover:not(:disabled) {
  transform: translateY(-.2em) scale(1.02)
}

.submit-btn.svelte-1icibur.svelte-1icibur:active:not(:disabled) {
  transform: translateY(-.1em) scale(1.01)
}

.submit-btn.svelte-1icibur.svelte-1icibur:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
  background: linear-gradient(90deg, #6b7280 0%, #4b5563 100%)
}

.loading-spinner.svelte-1icibur.svelte-1icibur {
  height: 1rem;
  width: 1rem;
  margin-right: .5rem;
  animation: svelte-1icibur-spin 1s linear infinite
}

.spinner-circle.svelte-1icibur.svelte-1icibur {
  opacity: .25
}

.spinner-path.svelte-1icibur.svelte-1icibur {
  opacity: .75
}

@keyframes svelte-1icibur-spin {
  0% {
    transform: rotate(0)
  }

  to {
    transform: rotate(360deg)
  }
}

.hidden.svelte-1icibur.svelte-1icibur {
  display: none
}

.col-1.svelte-1icibur.svelte-1icibur {
  width: 50%
}

.col-2.svelte-1icibur.svelte-1icibur {
  width: 100%
}

.flex-row.svelte-1icibur.svelte-1icibur {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center
}

.form-group.svelte-1icibur.svelte-1icibur {
  font-size: .9em;
  padding: .8em 0;
  float: left;
  display: flex;
  flex-direction: column;
  min-height: 3.5em
}

.form-group.svelte-1icibur label.svelte-1icibur {
  display: inline-block;
  font-size: .85em;
  cursor: default;
  margin-bottom: .3em;
  color: #d0d0d0;
  font-weight: 500
}

.input.svelte-1icibur.svelte-1icibur,
textarea.svelte-1icibur.svelte-1icibur {
  display: block;
  width: 100%;
  padding: .6em .8em;
  font-size: .9em;
  font-weight: 400;
  line-height: 1.5;
  background: rgba(0, 0, 0, .1);
  border-radius: .5rem;
  border: 1px solid rgba(255, 255, 255, .2);
  color: #e0e0e0;
  flex: 1;
  transition: all .2s ease
}

textarea.svelte-1icibur.svelte-1icibur {
  height: 8em;
  resize: vertical;
  box-shadow: none
}

.input.svelte-1icibur.svelte-1icibur:focus,
textarea.svelte-1icibur.svelte-1icibur:focus {
  outline: none;
  border-color: #8b5cf6;
  box-shadow: 0 2px 8px #8b5cf64d;
  background: #232c42
}

textarea.svelte-1icibur.svelte-1icibur:focus {
  box-shadow: none
}

.input.svelte-1icibur.svelte-1icibur::-moz-placeholder,
textarea.svelte-1icibur.svelte-1icibur::-moz-placeholder {
  color: #a0a0a0
}

.input.svelte-1icibur.svelte-1icibur::placeholder,
textarea.svelte-1icibur.svelte-1icibur::placeholder {
  color: #a0a0a0
}

.br.svelte-1icibur.svelte-1icibur {
  width: 100%;
  height: 3px;
  float: left;
  clear: both
}

.position.svelte-1icibur.svelte-1icibur {
  display: flex;
  gap: .5rem
}

.position.svelte-1icibur label.svelte-1icibur {
  flex: 1;
  text-align: center;
  line-height: 1.5rem
}

.position.svelte-1icibur input.svelte-1icibur {
  height: 1.479rem;
  flex: 1 !important;
  border-width: 1px !important
}

.gps-container.svelte-1icibur.svelte-1icibur {
  display: flex;
  gap: .5rem
}

.gps-input.svelte-1icibur.svelte-1icibur {
  flex: 2
}

.gps-button.svelte-1icibur.svelte-1icibur {
  flex: 1;
  margin: 0;
  padding: .6em .8em;
  font-size: .9em;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(0, 0, 0, .1);
  color: #d0d0d0;
  border-radius: .5rem;
  cursor: pointer;
  transition: all .2s ease
}

.gps-button.svelte-1icibur.svelte-1icibur:hover {
  background: rgba(70, 70, 70, .9);
  border-color: #8b5cf6cc
}

.file-select.svelte-1icibur.svelte-1icibur,
.image-select.svelte-1icibur.svelte-1icibur {
  padding: 0;
  overflow: hidden;
  text-overflow: hidden;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between
}

.file-button.svelte-1icibur.svelte-1icibur {
  margin: 0;
  padding: .6em .8em;
  font-size: .9em;
  border: none;
  background: rgba(0, 0, 0, .1);
  color: #d0d0d0;
  border-radius: 0 .5rem .5rem 0;
  cursor: pointer;
  transition: all .2s ease
}

.file-button.svelte-1icibur.svelte-1icibur:hover {
  background: rgba(70, 70, 70, .9)
}

.image-preview.svelte-1icibur.svelte-1icibur {
  max-height: 1.5rem;
  margin-top: -.18rem;
  padding: 0;
  border-radius: .1rem
}

.select-arrow.svelte-1icibur.svelte-1icibur {
  margin-left: auto;
  display: flex;
  align-items: center;
  color: #a0a0a0
}

.label-text.svelte-1icibur.svelte-1icibur {
  font-size: 1.5em;
  margin: 0
}

.label-with-tips.svelte-1icibur.svelte-1icibur {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .5rem
}

.tips-content.svelte-1icibur.svelte-1icibur {
  padding: .75rem;
  font-size: .875rem;
  line-height: 1.4;
  color: #e0e0e0;
  max-width: 100%
}

.tips.svelte-1icibur.svelte-1icibur {
  padding: 1em 1.2em;
  margin: 0;
  font-size: .9em;
  background: rgba(80, 80, 80, .8);
  border-left: .3em solid #8b5cf6;
  color: #e0e0e0;
  border-radius: 0 .5em .5em 0
}

input.svelte-1icibur.svelte-1icibur::-webkit-outer-spin-button,
input.svelte-1icibur.svelte-1icibur::-webkit-inner-spin-button {
  -webkit-appearance: none
}

input[type=number].svelte-1icibur.svelte-1icibur {
  -moz-appearance: textfield
}

.radio-group.svelte-1icibur.svelte-1icibur {
  display: flex;
  flex-direction: column;
  gap: .5em;
  margin-bottom: .5em
}

.radio-option.svelte-1icibur.svelte-1icibur {
  display: flex;
  align-items: flex-start;
  gap: .5em;
  padding: .5em;
  border: .1em solid rgba(120, 120, 120, .3);
  border-radius: .4em;
  cursor: pointer;
  transition: all .2s
}

.radio-option.svelte-1icibur.svelte-1icibur:hover {
  border-color: #8b5cf680;
  background: rgba(139, 92, 246, .1)
}

.radio-label.svelte-1icibur.svelte-1icibur {
  font-size: .9em;
  color: #e0e0e0;
  font-weight: 500
}

.radio-subtext.svelte-1icibur.svelte-1icibur {
  font-size: .75em;
  color: #a0a0a0;
  margin-left: auto
}

.button-group.svelte-1icibur.svelte-1icibur {
  display: flex;
  gap: .5em;
  flex-wrap: wrap;
  margin-bottom: .5em
}

.group-button.svelte-1icibur.svelte-1icibur {
  display: flex;
  align-items: center;
  gap: .3em;
  padding: .6em 1em;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(0, 0, 0, .1);
  color: #d0d0d0;
  border-radius: .5rem;
  cursor: pointer;
  transition: all .2s;
  font-size: .85em
}

.group-button.svelte-1icibur.svelte-1icibur:hover {
  border-color: #8b5cf6cc;
  background: rgba(60, 60, 60, .9)
}

.group-button.active.svelte-1icibur.svelte-1icibur {
  border-color: #8b5cf6;
  background: rgba(139, 92, 246, .2);
  color: #e0e0e0
}

.button-badge.svelte-1icibur.svelte-1icibur {
  background: #ef4444;
  color: #fff;
  padding: .1em .4em;
  border-radius: .8em;
  font-size: .7em;
  font-weight: 600
}

.seed-container.svelte-1icibur.svelte-1icibur {
  display: flex;
  flex-direction: column
}

.seed-input-group.svelte-1icibur.svelte-1icibur {
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: .5rem;
  overflow: hidden;
  background: rgba(0, 0, 0, .1)
}

.seed-lock-btn.svelte-1icibur.svelte-1icibur {
  padding: .6em;
  border: none;
  background: rgba(60, 60, 60, .8);
  color: #d0d0d0;
  cursor: pointer;
  transition: all .2s;
  font-size: 1em
}

.seed-lock-btn.locked.svelte-1icibur.svelte-1icibur {
  background: rgba(139, 92, 246, .3);
  color: #8b5cf6
}

.seed-input.svelte-1icibur.svelte-1icibur {
  flex: 1;
  padding: .6em;
  border: none;
  background: transparent;
  color: #e0e0e0;
  font-size: .9em
}

.seed-input.svelte-1icibur.svelte-1icibur:focus {
  outline: none
}

.seed-refresh-btn.svelte-1icibur.svelte-1icibur {
  padding: .6em;
  border: none;
  background: rgba(60, 60, 60, .8);
  color: #d0d0d0;
  cursor: pointer;
  transition: all .2s;
  font-size: 1em
}

.seed-refresh-btn.svelte-1icibur.svelte-1icibur:hover:not(:disabled) {
  background: rgba(70, 70, 70, .9)
}

.seed-refresh-btn.svelte-1icibur.svelte-1icibur:disabled {
  opacity: .5;
  cursor: not-allowed
}

.number-grid.svelte-1icibur.svelte-1icibur {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(4em, 1fr));
  gap: .5em;
  margin-bottom: .5em
}

.grid-number.svelte-1icibur.svelte-1icibur {
  padding: .8em;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(0, 0, 0, .1);
  color: #d0d0d0;
  border-radius: .5rem;
  cursor: pointer;
  transition: all .2s;
  font-size: .9em;
  font-weight: 500;
  text-align: center
}

.grid-number.svelte-1icibur.svelte-1icibur:hover,
.grid-number.active.svelte-1icibur.svelte-1icibur {
  border-color: #8b5cf6;
  background: #8b5cf6;
  color: #e0e0e0
}

.tips-content-item.svelte-1icibur.svelte-1icibur {
  display: flex;
  flex-direction: column;
  gap: .2em
}

.requiredTip.svelte-1icibur.svelte-1icibur {
  position: absolute;
  top: -50px;
  left: 0;
  right: 0;
  padding: 1em 1.2em;
  margin: 0;
  font-size: .9em;
  background: rgba(255, 0, 0, .9);
  color: #fff;
  border-radius: .5em;
  --tw-backdrop-blur: blur(16px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)
}

.form-group.svelte-1icibur .select-effect-container,
.form-group.svelte-1icibur .multi-image-uploader {
  width: 100%
}

.debug-info.svelte-1icibur.svelte-1icibur {
  margin-top: .25rem;
  padding: .25rem .5rem;
  background: rgba(139, 92, 246, .1);
  border: 1px solid rgba(139, 92, 246, .3);
  border-radius: .25rem;
  font-family: monospace;
  font-size: .75rem;
  color: #a855f7;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.native-swiper-container.svelte-84zjg7.svelte-84zjg7 {
  box-sizing: border-box;
  height: 100%;
  border-radius: .75rem;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgb(99 109 225 / 10%);
  padding: 1.5rem
}

.native-swiper-tip.svelte-84zjg7.svelte-84zjg7 {
  text-align: center;
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  font-weight: 600;
  letter-spacing: .05em
}

.native-swiper-wrapper.svelte-84zjg7.svelte-84zjg7 {
  display: flex;
  align-items: center;
  height: calc(100% - 3rem);
  width: 100%
}

.native-swiper.svelte-84zjg7.svelte-84zjg7 {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 1rem
}

.native-swiper-track.svelte-84zjg7.svelte-84zjg7 {
  display: flex;
  height: 100%;
  transition: transform ease-out;
  will-change: transform
}

.native-swiper-slide.svelte-84zjg7.svelte-84zjg7 {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center
}

.media-image.svelte-84zjg7.svelte-84zjg7,
.media-video.svelte-84zjg7.svelte-84zjg7 {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 1rem;
  overflow: hidden
}

.media-img.svelte-84zjg7.svelte-84zjg7 {
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  border-radius: 1rem
}

.media-video-el.svelte-84zjg7.svelte-84zjg7 {
  width: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  border-radius: 1rem
}

.media-video-el.svelte-84zjg7.svelte-84zjg7::-webkit-media-controls {
  display: none !important
}

.media-video-el.svelte-84zjg7.svelte-84zjg7::-webkit-media-controls-enclosure {
  display: none !important
}

.media-video-el.svelte-84zjg7.svelte-84zjg7::-webkit-media-controls-panel {
  display: none !important
}

.media-video-el.svelte-84zjg7.svelte-84zjg7::-moz-media-controls {
  display: none !important
}

.media-video-el.svelte-84zjg7.svelte-84zjg7::-o-media-controls {
  display: none !important
}

.video-play-btn.svelte-84zjg7.svelte-84zjg7 {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, .5);
  border-radius: 50%;
  padding: .8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 3;
  border: none
}

.video-play-btn.svelte-84zjg7.svelte-84zjg7:hover {
  background: rgba(0, 0, 0, .7)
}

.nav-button.svelte-84zjg7.svelte-84zjg7 {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .9);
  border: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s;
  z-index: 4;
  color: #333
}

.nav-button.svelte-84zjg7.svelte-84zjg7:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.1)
}

.nav-button.svelte-84zjg7 svg.svelte-84zjg7 {
  width: 1.5rem;
  height: 1.5rem
}

.nav-prev.svelte-84zjg7.svelte-84zjg7 {
  left: 1rem
}

.nav-next.svelte-84zjg7.svelte-84zjg7 {
  right: 1rem
}

.pagination.svelte-84zjg7.svelte-84zjg7 {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translate(-50%);
  display: flex;
  gap: .5rem;
  z-index: 4
}

.pagination-dot.svelte-84zjg7.svelte-84zjg7 {
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .4);
  border: none;
  cursor: pointer;
  transition: all .2s;
  padding: 0
}

.pagination-dot.svelte-84zjg7.svelte-84zjg7:hover {
  background: rgba(255, 255, 255, .6)
}

.pagination-dot.active.svelte-84zjg7.svelte-84zjg7 {
  background: #fff;
  width: 1.5rem;
  border-radius: .25rem
}

.native-swiper.svelte-84zjg7.svelte-84zjg7 {
  -moz-user-select: none;
  user-select: none;
  -webkit-user-select: none
}

.full-height.svelte-84zjg7.svelte-84zjg7 {
  height: 100%;
  padding: 0;
  border: none;
  background: transparent;
  border-radius: 0
}

.full-height-wrapper.svelte-84zjg7.svelte-84zjg7 {
  height: 100%
}

.full-height.svelte-84zjg7 .native-swiper-wrapper.svelte-84zjg7 {
  height: 100%;
  width: 100%
}

.full-height.svelte-84zjg7 .media-img.svelte-84zjg7,
.full-height.svelte-84zjg7 .media-video-el.svelte-84zjg7 {
  max-height: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain
}

.full-height.svelte-84zjg7 .media-image.svelte-84zjg7,
.full-height.svelte-84zjg7 .media-video.svelte-84zjg7 {
  height: 100%
}

@media (max-width: 768px) {
  .nav-button.svelte-84zjg7.svelte-84zjg7 {
    display: none
  }
}

.thumbnail-nav.svelte-84zjg7.svelte-84zjg7 {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translate(-50%);
  display: flex;
  gap: .5rem;
  z-index: 4;
  background: rgba(0, 0, 0, .6);
  padding: .4rem;
  border-radius: .5rem;
  backdrop-filter: blur(10px);
  max-width: 90%;
  overflow-x: auto;
  scrollbar-width: none
}

.thumbnail-nav.svelte-84zjg7.svelte-84zjg7::-webkit-scrollbar {
  display: none
}

.thumbnail-item.svelte-84zjg7.svelte-84zjg7 {
  flex: 0 0 auto;
  height: 3rem;
  width: auto;
  border: 2px solid transparent;
  border-radius: .25rem;
  cursor: pointer;
  transition: all .2s;
  padding: 0;
  background: transparent;
  position: relative;
  overflow: hidden
}

.thumbnail-item.svelte-84zjg7.svelte-84zjg7:hover {
  transform: scale(1.05);
  border-color: #ffffff80
}

.thumbnail-item.active.svelte-84zjg7.svelte-84zjg7 {
  border-color: #fff;
  box-shadow: 0 0 0 1px #ffffff4d
}

.thumbnail-img.svelte-84zjg7.svelte-84zjg7 {
  height: 100%;
  width: auto;
  -o-object-fit: cover;
  object-fit: cover;
  display: block;
  max-width: 5rem;
  min-width: 2.5rem
}

.thumbnail-video.svelte-84zjg7.svelte-84zjg7 {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center
}

.video-indicator.svelte-84zjg7.svelte-84zjg7 {
  position: absolute;
  bottom: .2rem;
  right: .2rem;
  background: rgba(0, 0, 0, .7);
  width: 1rem;
  height: 1rem;
  border-radius: .125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff
}

.video-indicator.svelte-84zjg7 svg.svelte-84zjg7 {
  width: .7rem;
  height: .7rem
}

@media (max-width: 768px) {
  .thumbnail-nav.svelte-84zjg7.svelte-84zjg7 {
    bottom: .5rem;
    padding: .3rem
  }

  .thumbnail-item.svelte-84zjg7.svelte-84zjg7 {
    height: 2.5rem
  }

  .thumbnail-img.svelte-84zjg7.svelte-84zjg7 {
    max-width: 4rem
  }
}

.preview-content.svelte-1bxzapp {
  display: flex;
  flex-direction: column;
  padding: 0;
  width: 100%;
  height: 100%;
  max-height: 85vh;
  box-sizing: border-box
}

.preview-media-area.svelte-1bxzapp {
  width: 100%;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, .1)
}

.preview-sidebar.svelte-1bxzapp {
  display: flex;
  flex-direction: column
}

@media (min-width: 768px) {
  .preview-content.svelte-1bxzapp {
    flex-direction: row;
    height: 100%
  }

  .preview-media-area.svelte-1bxzapp {
    width: 70%;
    height: 70vh;
    flex: none
  }

  .preview-sidebar.svelte-1bxzapp {
    width: 30%;
    display: flex;
    flex-direction: column
  }

  .preview-info.svelte-1bxzapp {
    flex: 1;
    padding: 1rem;
    overflow-y: auto
  }

  .preview-actions.svelte-1bxzapp {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 0;
    flex-shrink: 0
  }
}

.preview-empty.svelte-1bxzapp {
  color: #9ca3af;
  text-align: center;
  padding: 2.5rem 0;
  width: 100%
}

.preview-info.svelte-1bxzapp {
  padding: 1rem;
  flex-shrink: 0;
  overflow-y: auto
}

.info-content.svelte-1bxzapp {
  display: flex;
  flex-direction: column;
  gap: .75rem
}

.preview-title.svelte-1bxzapp {
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem
}

.preview-meta.svelte-1bxzapp {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem
}

.preview-id.svelte-1bxzapp {
  color: #9ca3af;
  font-size: 1rem
}

.preview-credits.svelte-1bxzapp {
  color: #9ca3af;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: .25rem
}

.credits-icon.svelte-1bxzapp {
  width: 1.2em;
  height: 1.2em
}

.preview-model.svelte-1bxzapp,
.preview-status.svelte-1bxzapp {
  color: #9ca3af;
  font-size: .9rem
}

.preview-time.svelte-1bxzapp {
  color: #9ca3af;
  font-size: .875rem
}

.status-completed.svelte-1bxzapp {
  color: #10b981;
  text-transform: capitalize
}

.status-processing.svelte-1bxzapp {
  color: #3b82f6;
  text-transform: capitalize
}

.status-pending.svelte-1bxzapp {
  color: #f59e0b;
  text-transform: capitalize
}

.status-failed.svelte-1bxzapp {
  color: #ef4444;
  text-transform: capitalize
}

.preview-tip.svelte-1bxzapp {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  color: #f59e0b;
  font-size: .95rem;
  border: 1px dashed #f59e0b;
  border-radius: 10px;
  margin-top: .5rem
}

.upgrade-btn.svelte-1bxzapp,
.gradient-btn.svelte-1bxzapp {
  flex-shrink: 0;
  padding: 8px 16px;
  color: #fff;
  font-size: .95rem;
  border: none;
  background: linear-gradient(98deg, #a570ff 0%, #ff6eb2 50%, #ffad66 100%);
  border-radius: 40px;
  cursor: pointer;
  transition: opacity .2s
}

.upgrade-btn.svelte-1bxzapp:hover {
  opacity: .9
}

.preview-actions.svelte-1bxzapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  flex-shrink: 0;
  margin-top: auto
}

.preview-btn.svelte-1bxzapp {
  min-width: 7rem;
  padding: .75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem
}

.preview-btn-download.svelte-1bxzapp {
  background: #2563eb;
  color: #fff
}

.preview-btn-download.svelte-1bxzapp:hover {
  background: #1d4ed8
}

.preview-btn-delete.svelte-1bxzapp {
  background: #ef4444;
  color: #fff
}

.preview-btn-delete.svelte-1bxzapp:hover {
  background: #b91c1c
}

@media (max-width: 767px) {
  .preview-content.svelte-1bxzapp {
    height: 100%;
    flex-direction: column
  }

  .preview-media-area.svelte-1bxzapp {
    flex: 1;
    width: 100%
  }

  .preview-sidebar.svelte-1bxzapp {
    flex-shrink: 0
  }

  .preview-info.svelte-1bxzapp {
    padding: 1rem;
    overflow-y: auto
  }

  .preview-actions.svelte-1bxzapp {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
    flex-direction: column;
    width: 100%
  }

  .preview-btn.svelte-1bxzapp {
    width: 100%
  }

  .preview-meta.svelte-1bxzapp {
    flex-direction: column;
    align-items: flex-start
  }
}

.flex-shrink-0.svelte-1bxzapp {
  flex-shrink: 0
}

.pagination-wrapper.svelte-r4julu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  border-radius: .5rem
}

.pagination-container.svelte-r4julu {
  display: flex;
  align-items: center;
  gap: .5rem
}

.pagination-btn.svelte-r4julu {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: .5rem;
  border: none;
  border-radius: .375rem;
  background-color: #1c2135;
  color: #fff;
  font-size: .875rem;
  font-weight: 500;
  border: 1px solid #ffffff20;
  cursor: pointer;
  transition: all .2s ease-in-out
}

.pagination-btn.svelte-r4julu:hover:not(:disabled) {
  background-color: #8b5cf6;
  transform: translateY(-1px)
}

.pagination-btn.svelte-r4julu:active:not(:disabled) {
  transform: translateY(0)
}

.pagination-btn.active.svelte-r4julu {
  background-color: #8b5cf6;
  color: #fff;
  font-weight: 600
}

.pagination-btn.svelte-r4julu:disabled {
  opacity: .5;
  cursor: not-allowed
}

.pagination-btn.svelte-r4julu:disabled:hover {
  background-color: #4b5563;
  transform: none
}

.prev-btn.svelte-r4julu,
.next-btn.svelte-r4julu {
  font-size: 1.25rem;
  font-weight: 700
}

.pagination-ellipsis.svelte-r4julu {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: .5rem;
  color: #9ca3af;
  font-size: .875rem;
  font-weight: 500;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  pointer-events: none;
  margin: 0;
  box-sizing: border-box;
  flex-shrink: 0
}

@media (max-width: 768px) {
  .pagination-wrapper.svelte-r4julu {
    flex-direction: column;
    align-items: center;
    gap: .75rem
  }

  .pagination-btn.svelte-r4julu {
    min-width: 2.25rem;
    height: 2.25rem;
    font-size: .75rem
  }
}

.task-list.svelte-6nui5f.svelte-6nui5f {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border-radius: .75rem;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgb(99 109 225 / 10%);
  padding: 1.5rem
}

.task-header.svelte-6nui5f.svelte-6nui5f {
  margin-bottom: 10px;
  flex-shrink: 0;
  z-index: 10
}

.header-content.svelte-6nui5f.svelte-6nui5f {
  display: flex;
  justify-content: space-between;
  margin-bottom: .8em;
  line-height: 1.35em
}

.header-content.svelte-6nui5f h2.svelte-6nui5f {
  margin: 0;
  font-weight: 600;
  color: #e0e0e0
}

.refresh-btn.svelte-6nui5f.svelte-6nui5f {
  display: flex;
  align-items: center;
  gap: .5em;
  padding: .6em 1em;
  font-size: .85em;
  border: .1em solid rgba(120, 120, 120, .5);
  background-color: #00366b5c;
  color: #d0d0d0;
  border-radius: .4em;
  cursor: pointer;
  transition: all .2s
}

.refresh-btn.svelte-6nui5f.svelte-6nui5f:hover:not(:disabled) {
  background: #00366b90;
  border-color: #8b5cf6cc
}

.refresh-btn.svelte-6nui5f.svelte-6nui5f:disabled {
  opacity: .6;
  cursor: not-allowed
}

.task-stats.svelte-6nui5f.svelte-6nui5f {
  display: flex;
  gap: 1.5rem
}

.stat.svelte-6nui5f.svelte-6nui5f {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem
}

.stat-label.svelte-6nui5f.svelte-6nui5f {
  color: #b0b0b0
}

.stat-value.svelte-6nui5f.svelte-6nui5f {
  font-weight: 600;
  color: #e0e0e0
}

.task-content.svelte-6nui5f.svelte-6nui5f {
  flex: 1;
  overflow-y: auto;
  padding: 1em;
  margin: 0 -1em
}

.loading-indicator.svelte-6nui5f.svelte-6nui5f {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  color: #6b7280;
  gap: 1rem
}

.tasks.svelte-6nui5f.svelte-6nui5f {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: .8em
}

@media (max-width: 767px) {
  .tasks.svelte-6nui5f.svelte-6nui5f {
    grid-template-columns: repeat(auto-fill, minmax(calc(50% - .4em), 1fr))
  }
}

@media (max-width: 320px) {
  .tasks.svelte-6nui5f.svelte-6nui5f {
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr))
  }
}

.task-item.svelte-6nui5f.svelte-6nui5f {
  min-width: 0;
  box-sizing: border-box;
  position: relative;
  border-radius: 16px;
  border: 1px solid #ffffff10;
  transition: all .2s;
  overflow: hidden
}

.task-main.svelte-6nui5f.svelte-6nui5f {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start
}

.task-thumbnail.svelte-6nui5f.svelte-6nui5f {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  background: #201e2d;
  border-radius: .5rem;
  overflow: hidden
}

.thumbnail-img.svelte-6nui5f.svelte-6nui5f {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  display: block;
  border-radius: .5rem
}

.thumbnail-overlay.svelte-6nui5f.svelte-6nui5f {
  position: absolute;
  top: 0;
  right: 0;
  background: rgba(0, 0, 0, .7);
  border-radius: 0 0 0 .5rem;
  padding: .2rem .4rem;
  display: flex;
  align-items: center;
  justify-content: center
}

.task-type-overlay.svelte-6nui5f.svelte-6nui5f {
  color: #fff;
  fill: #fff
}

.task-info.svelte-6nui5f.svelte-6nui5f {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  padding: 10px
}

.task-info-left.svelte-6nui5f.svelte-6nui5f {
  flex-grow: 1
}

.task-title.svelte-6nui5f.svelte-6nui5f {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: .5rem
}

.task-name.svelte-6nui5f.svelte-6nui5f {
  font-weight: 600;
  color: #e0e0e0;
  font-size: .9em
}

.task-credits.svelte-6nui5f.svelte-6nui5f {
  padding: .125rem .5rem;
  background: #ffffff10;
  border: 1px solid #ffffff20;
  color: #ff0;
  border-radius: 1rem;
  font-size: .75rem;
  display: flex;
  font-weight: 500;
  flex-shrink: 0;
  gap: 5px
}

.task-description.svelte-6nui5f.svelte-6nui5f {
  color: #b0b0b0;
  font-size: .8em;
  margin-bottom: .5em
}

.task-meta.svelte-6nui5f.svelte-6nui5f {
  display: flex;
  flex-direction: column;
  gap: .25rem
}

.task-time.svelte-6nui5f.svelte-6nui5f {
  font-size: .75em;
  color: #a0a0a0
}

.task-status.svelte-6nui5f.svelte-6nui5f {
  flex-shrink: 0
}

.status-indicator.svelte-6nui5f.svelte-6nui5f {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  justify-content: center
}

.status-text.svelte-6nui5f.svelte-6nui5f {
  font-size: 1rem;
  font-weight: 500;
  text-transform: capitalize
}

.status-completed.svelte-6nui5f .status-text.svelte-6nui5f {
  color: #10b981
}

.status-processing.svelte-6nui5f .status-text.svelte-6nui5f {
  color: #3b82f6
}

.status-pending.svelte-6nui5f .status-text.svelte-6nui5f {
  color: #f59e0b
}

.status-failed.svelte-6nui5f.svelte-6nui5f {
  background: #ff000030
}

.status-failed.svelte-6nui5f .status-text.svelte-6nui5f {
  color: #ef4444
}

.progress-bar.svelte-6nui5f.svelte-6nui5f {
  width: 100px;
  height: 4px;
  background: #e5e7eb;
  border-radius: 2px;
  overflow: hidden;
  margin: .25rem 0;
  margin-left: auto
}

.progress-fill.svelte-6nui5f.svelte-6nui5f {
  height: 100%;
  background: #3b82f6;
  transition: width .3s ease
}

.progress-text.svelte-6nui5f.svelte-6nui5f {
  display: flex;
  justify-content: center;
  font-size: .75rem;
  color: #6b7280
}

.error-message.svelte-6nui5f.svelte-6nui5f {
  font-size: .75rem;
  color: #ef4444;
  margin-top: .25rem
}

.task-actions.svelte-6nui5f.svelte-6nui5f {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  justify-content: flex-end
}

.action-btn.svelte-6nui5f.svelte-6nui5f {
  display: flex;
  align-items: center;
  gap: .25rem;
  padding: .25rem .5rem;
  font-size: .75rem;
  border: 1px solid transparent;
  border-radius: 2rem;
  cursor: pointer;
  transition: all .2s
}

.action-btn.download.svelte-6nui5f.svelte-6nui5f {
  background: linear-gradient(90deg, #ab71f8 0%, #fc74b7 47%, #f9a37a 100%);
  border-radius: 4px;
  color: #fff;
  border: none
}

.action-btn.download.svelte-6nui5f.svelte-6nui5f:hover {
  background: linear-gradient(90deg, #ab71f8 0%, #fc74b7 47%, #f9a37a 100%);
  opacity: .9
}

.action-btn.retry.svelte-6nui5f.svelte-6nui5f {
  background: #dbeafe;
  color: #1e40af;
  border-color: #bfdbfe
}

.action-btn.retry.svelte-6nui5f.svelte-6nui5f:hover {
  background: #bfdbfe
}

.action-btn.cancel.svelte-6nui5f.svelte-6nui5f {
  color: #fff;
  background: #8ea0b25c;
  border-color: #78787880
}

.action-btn.cancel.svelte-6nui5f.svelte-6nui5f:hover {
  background: #00366b90;
  border-color: #8b5cf6cc
}

.action-btn.delete.svelte-6nui5f.svelte-6nui5f {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fecaca
}

.action-btn.delete.svelte-6nui5f.svelte-6nui5f:hover {
  background: #fecaca
}

.task-footer.svelte-6nui5f.svelte-6nui5f {
  flex-shrink: 0;
  height: 3em;
  padding: .75em;
  border-top: .1em solid rgba(255, 255, 255, .1);
  z-index: 10
}

.pagination.svelte-6nui5f.svelte-6nui5f {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: .5rem
}

.page-btn.svelte-6nui5f.svelte-6nui5f {
  padding: .6em .8em;
  font-size: .9em;
  border: none;
  background: rgba(216, 216, 216, .15);
  border-radius: 50px;
  backdrop-filter: blur(10px);
  color: #d0d0d0;
  cursor: pointer;
  transition: all .2s;
  min-width: 2.5em
}

.page-btn.svelte-6nui5f.svelte-6nui5f:hover:not(:disabled) {
  background: rgba(216, 216, 216, .3)
}

.page-btn.svelte-6nui5f.svelte-6nui5f:disabled {
  opacity: .5;
  cursor: not-allowed
}

.page-btn.active.svelte-6nui5f.svelte-6nui5f {
  background: rgba(216, 216, 216, .6);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  color: #fff
}

.page-info.svelte-6nui5f.svelte-6nui5f {
  text-align: center;
  font-size: .9em;
  color: #d0d0d0;
  font-weight: 500
}

.pagination-loading.svelte-6nui5f.svelte-6nui5f {
  text-align: center;
  font-size: .9em;
  color: #b0b0b0;
  padding: .5rem
}

.spinning.svelte-6nui5f.svelte-6nui5f {
  animation: svelte-6nui5f-spin 1s linear infinite
}

@keyframes svelte-6nui5f-spin {
  0% {
    transform: rotate(0)
  }

  to {
    transform: rotate(360deg)
  }
}

@media (max-width: 768px) {
  .task-content.svelte-6nui5f.svelte-6nui5f {
    padding: 0 .75rem
  }

  .task-footer.svelte-6nui5f.svelte-6nui5f {
    padding: .75rem
  }

  .task-status.svelte-6nui5f.svelte-6nui5f {
    margin-left: 0;
    text-align: left
  }

  .status-indicator.svelte-6nui5f.svelte-6nui5f {
    justify-content: flex-start
  }

  .progress-bar.svelte-6nui5f.svelte-6nui5f {
    margin-left: 0
  }

  .task-actions.svelte-6nui5f.svelte-6nui5f {
    justify-content: flex-start
  }

  .page-numbers.svelte-6nui5f.svelte-6nui5f {
    flex-wrap: wrap
  }
}

.delete-confirm-overlay.svelte-6nui5f.svelte-6nui5f {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #000000d9;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  color: #fff;
  z-index: 20;
  backdrop-filter: blur(4px)
}

.delete-confirm-text.svelte-6nui5f.svelte-6nui5f {
  margin-bottom: 1rem;
  text-align: center;
  margin: 0 0 1rem
}

.delete-confirm-buttons.svelte-6nui5f.svelte-6nui5f {
  display: flex;
  gap: 1rem
}

.delete-confirm-yes.svelte-6nui5f.svelte-6nui5f {
  padding: .5rem 1rem;
  background-color: #dc2626;
  border-radius: .375rem;
  border: none;
  color: #fff;
  cursor: pointer;
  transition: background-color .2s
}

.delete-confirm-yes.svelte-6nui5f.svelte-6nui5f:hover {
  background-color: #b91c1c
}

.delete-confirm-no.svelte-6nui5f.svelte-6nui5f {
  padding: .5rem 1rem;
  background-color: #4b5563;
  border-radius: .375rem;
  border: none;
  color: #fff;
  cursor: pointer;
  transition: background-color .2s
}

.delete-confirm-no.svelte-6nui5f.svelte-6nui5f:hover {
  background-color: #374151
}

.loading-dots.svelte-6nui5f.svelte-6nui5f {
  display: inline-block;
  min-width: 1.5em;
  text-align: left;
  animation: svelte-6nui5f-pulse 1.5s ease-in-out infinite
}

@keyframes svelte-6nui5f-pulse {

  0%,
  to {
    opacity: .6
  }

  50% {
    opacity: 1
  }
}

.verification-input-container.svelte-fvmqca {
  position: relative;
  display: flex
}

.input-wrapper.svelte-fvmqca {
  flex-grow: 1
}

.input-icon.svelte-fvmqca {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  padding-left: .75rem;
  display: flex;
  align-items: center;
  pointer-events: none
}

.email-input.svelte-fvmqca {
  box-sizing: border-box;
  background-color: #282634;
  border: 1px solid #ffffff20;
  color: #fff;
  border-radius: .5rem;
  display: block;
  width: 100%;
  padding: .625rem .625rem .625rem 2.5rem
}

.email-input.svelte-fvmqca:focus {
  outline: none;
  border-color: #535361
}

.send-button.svelte-fvmqca {
  position: absolute;
  right: 0;
  min-width: 85px;
  height: 100%;
  background-color: #535361;
  color: #ddd;
  font-size: 12px;
  border-top-right-radius: .5rem;
  border-bottom-right-radius: .5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  cursor: pointer
}

.send-button.svelte-fvmqca:hover:not(:disabled) {
  background-color: #69697a
}

.send-button.svelte-fvmqca:disabled {
  opacity: .5;
  cursor: not-allowed
}

.spinner.svelte-fvmqca {
  height: 1rem;
  width: 1rem;
  color: #000;
  animation: svelte-fvmqca-spin 1s linear infinite
}

.spinner-circle.svelte-fvmqca {
  opacity: .25
}

.spinner-path.svelte-fvmqca {
  opacity: .75
}

@keyframes svelte-fvmqca-spin {
  0% {
    transform: rotate(0)
  }

  to {
    transform: rotate(360deg)
  }
}

.google-login-button.svelte-201u3f {
  width: 100%;
  background-color: #8b5cf650;
  color: #fff;
  font-weight: 500;
  border-radius: .5rem;
  padding: .625rem;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  cursor: pointer;
  transition: background-color .2s ease
}

.google-login-button.svelte-201u3f:hover:not(:disabled) {
  background-color: #8b5cf680
}

.google-login-button.svelte-201u3f:disabled {
  opacity: .5;
  cursor: not-allowed
}

.loading-spinner.svelte-201u3f {
  height: 1rem;
  width: 1rem;
  color: #fff;
  margin-left: -.25rem;
  margin-right: .5rem;
  animation: svelte-201u3f-spin 1s linear infinite
}

.spinner-circle.svelte-201u3f {
  opacity: .25
}

.spinner-path.svelte-201u3f {
  opacity: .75
}

.google-icon.svelte-201u3f {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: .5rem
}

@keyframes svelte-201u3f-spin {
  0% {
    transform: rotate(0)
  }

  to {
    transform: rotate(360deg)
  }
}

.auth-container.svelte-5st19h {
  display: flex;
  flex-direction: column;
  gap: 1.5rem
}

.alert-error.svelte-5st19h {
  background-color: #ef44441a;
  border: 1px solid rgba(239, 68, 68, .2);
  border-radius: .5rem;
  padding: 1rem;
  align-items: center;
  gap: 5px
}

.alert-success.svelte-5st19h {
  background-color: #22c55e1a;
  border: 1px solid rgba(34, 197, 94, .2);
  border-radius: .5rem;
  padding: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 10px
}

.alert-text.svelte-5st19h {
  font-size: .875rem;
  line-height: 1.25rem
}

.error-text.svelte-5st19h {
  color: #f87171
}

.success-text.svelte-5st19h {
  color: #4ade80
}

.form-container.svelte-5st19h {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: #fff
}

.form-label.svelte-5st19h {
  display: block;
  font-size: .875rem;
  line-height: 1.25rem;
  font-weight: 500;
  margin-bottom: .25rem
}

.input-container.svelte-5st19h {
  position: relative
}

.input-icon-left.svelte-5st19h {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  padding-left: .75rem;
  display: flex;
  align-items: center;
  pointer-events: none
}

.input-icon-right.svelte-5st19h {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  padding-right: .75rem;
  display: flex;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  color: #6a6a6a
}

.form-input.svelte-5st19h {
  box-sizing: border-box;
  background-color: #282634;
  border: 1px solid #ffffff20;
  color: #fff;
  border-radius: .5rem;
  display: block;
  width: 100%;
  padding: .625rem .625rem .625rem 2.5rem
}

.form-input.svelte-5st19h:focus {
  outline: none;
  ring: 2px solid #535361;
  border-color: #535361
}

.form-input-with-right.svelte-5st19h {
  box-sizing: border-box;
  background-color: #282634;
  border: 1px solid #ffffff20;
  color: #fff;
  border-radius: .5rem;
  display: block;
  width: 100%;
  padding: .625rem 2.5rem
}

.form-input-with-right.svelte-5st19h:focus {
  outline: none;
  ring: 2px solid #535361;
  border-color: #535361
}

.form-input-simple.svelte-5st19h {
  background-color: #232425;
  border: 1px solid #505051;
  color: #fff;
  border-radius: .5rem;
  display: block;
  width: 100%;
  padding: .625rem
}

.form-input-simple.svelte-5st19h:focus {
  outline: none;
  ring: 2px solid #535361;
  border-color: #535361
}

.password-hint.svelte-5st19h {
  font-size: .75rem;
  line-height: 1rem;
  color: #9ca3af;
  margin-top: .25rem
}

.forgot-password-container.svelte-5st19h {
  display: flex;
  justify-content: space-between;
  align-items: center
}

.forgot-password-link.svelte-5st19h {
  font-size: .875rem;
  line-height: 1.25rem;
  color: #535361;
  background: none;
  border: none;
  cursor: pointer
}

.forgot-password-link.svelte-5st19h:hover {
  text-decoration: underline
}

.forgot-password-description.svelte-5st19h {
  font-size: .875rem;
  line-height: 1.25rem;
  color: #9ca3af;
  margin-bottom: 1rem
}

.submit-button.svelte-5st19h {
  width: 100%;
  background-color: #8b5cf6;
  color: #fff;
  font-weight: 500;
  border-radius: .5rem;
  padding: .625rem;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  cursor: pointer
}

.submit-button.svelte-5st19h:hover {
  background-color: #9e74ff
}

.submit-button.svelte-5st19h:disabled {
  cursor: not-allowed;
  opacity: .5
}

.loading-spinner.svelte-5st19h {
  animation: svelte-5st19h-spin 1s linear infinite;
  margin-left: -.25rem;
  margin-right: .5rem;
  height: 1rem;
  width: 1rem;
  color: #000
}

@keyframes svelte-5st19h-spin {
  0% {
    transform: rotate(0)
  }

  to {
    transform: rotate(360deg)
  }
}

.spinner-circle.svelte-5st19h {
  opacity: .25
}

.spinner-path.svelte-5st19h {
  opacity: .75
}

.divider-container.svelte-5st19h {
  position: relative
}

.divider-line-container.svelte-5st19h {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center
}

.divider-line.svelte-5st19h {
  width: 100%;
  border-top: 1px solid #4b5563
}

.divider-text-container.svelte-5st19h {
  position: relative;
  display: flex;
  justify-content: center;
  font-size: .875rem;
  line-height: 1.25rem
}

.divider-text.svelte-5st19h {
  padding-left: .5rem;
  padding-right: .5rem;
  background-color: #232425;
  color: #9ca3af
}

.switch-form-container.svelte-5st19h {
  text-align: center
}

.switch-form-text.svelte-5st19h {
  font-size: .875rem;
  line-height: 1.25rem;
  color: #9ca3af
}

.switch-form-link.svelte-5st19h {
  font-size: .875rem;
  line-height: 1.25rem;
  color: #ddd;
  margin-left: .25rem;
  background: none;
  border: none;
  cursor: pointer
}

.switch-form-link.svelte-5st19h:hover {
  text-decoration: underline
}

.back-to-login-container.svelte-5st19h {
  text-align: center
}

.back-to-login-link.svelte-5st19h {
  font-size: .875rem;
  line-height: 1.25rem;
  color: #535361;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  background: none;
  border: none;
  cursor: pointer
}

.back-to-login-link.svelte-5st19h:hover {
  text-decoration: underline
}

.preview-container.svelte-1d4anpt {
  position: relative;
  overflow: hidden;
  border: 1px solid #374151;
  border-radius: .375rem;
  box-shadow: 0 10px 15px -3px #0000001a, 0 4px 6px -2px #0000000d;
  transition: none;
  will-change: background-position
}

.preview-loading.svelte-1d4anpt {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: .875rem;
  color: #9ca3af
}

div.svelte-13q2kh4 {
  -moz-user-select: none;
  user-select: none;
  -webkit-user-select: none
}

.video-range-slider.svelte-13q2kh4 {
  margin-top: 1rem;
  margin-bottom: 1.5rem
}

.time-display.svelte-13q2kh4 {
  display: flex;
  height: 3rem;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .5rem
}

.time-label.svelte-13q2kh4 {
  font-size: .875rem;
  color: #d1d5db
}

.slider-container.svelte-13q2kh4 {
  position: relative;
  height: 1.5rem;
  background-color: #232425;
  border-radius: .375rem;
  border: 1px solid #505051
}

.slider-container.disabled.svelte-13q2kh4 {
  opacity: .5
}

.progress-bar.svelte-13q2kh4 {
  position: absolute;
  height: 100%;
  background-color: #f8df5a4d;
  border-radius: .375rem
}

.time-markers.svelte-13q2kh4 {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  padding-left: .5rem;
  padding-right: .5rem
}

.marker-container.svelte-13q2kh4 {
  position: relative;
  height: 100%
}

.marker-line.svelte-13q2kh4 {
  position: absolute;
  bottom: 0;
  width: 1px;
  height: .5rem;
  background-color: #50505180
}

.marker-label.svelte-13q2kh4 {
  position: absolute;
  bottom: 100%;
  font-size: 10px;
  color: #9ca3af;
  margin-bottom: .25rem
}

.handle-container.svelte-13q2kh4 {
  position: relative
}

.handle.svelte-13q2kh4 {
  position: absolute;
  top: 50%;
  width: 1rem;
  height: 2rem;
  background-color: #f8df5a;
  border-radius: .125rem;
  transform: translateY(-50%);
  cursor: ew-resize;
  box-shadow: 0 4px 6px -1px #0000001a, 0 2px 4px -1px #0000000f;
  transition: background-color .15s ease-in-out
}

.handle.svelte-13q2kh4:hover {
  background-color: #f8df5ae6
}

.handle.disabled.svelte-13q2kh4 {
  pointer-events: none
}

.start-handle.svelte-13q2kh4 {
  transform: translate(-50%) translateY(-50%)
}

.preview-thumbnail.svelte-13q2kh4 {
  position: absolute;
  background-color: #232425;
  border: 1px solid #505051;
  border-radius: .375rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px #0000001a, 0 4px 6px -2px #0000000d;
  z-index: 10;
  transition: none
}

.preview-time.svelte-13q2kh4 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #000000b3;
  padding: .25rem .5rem;
  font-size: .75rem;
  color: #fff;
  text-align: center
}

.bottom-info.svelte-13q2kh4 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: .5rem
}

.total-time.svelte-13q2kh4 {
  font-size: .75rem;
  color: #9ca3af
}

.selected-time.svelte-13q2kh4 {
  font-size: .75rem;
  color: #f8df5a
}

.warning-message.svelte-13q2kh4 {
  margin-top: .5rem;
  text-align: center;
  font-size: .75rem;
  color: #ef4444;
  animation: svelte-13q2kh4-pulse 2s cubic-bezier(.4, 0, .6, 1) infinite
}

@keyframes svelte-13q2kh4-pulse {

  0%,
  to {
    opacity: 1
  }

  50% {
    opacity: .5
  }
}

.preview-content.svelte-13q2kh4 {
  transition: none
}

.video-container.svelte-or0n3x {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background-color: #111827;
  border-radius: .5rem;
  overflow: hidden
}

.video-element.svelte-or0n3x {
  width: 100%;
  height: 100%
}

.controls-overlay.svelte-or0n3x {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, .5), transparent)
}

.controls-wrapper.svelte-or0n3x {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #fff
}

.icon-size.svelte-or0n3x {
  width: 1rem;
  height: 1rem
}

.icon-button.svelte-or0n3x {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer
}

.progress-container.svelte-or0n3x {
  flex: 1
}

.progress-track.svelte-or0n3x {
  height: .25rem;
  background-color: #4b5563;
  border-radius: 9999px
}

.progress-fill.svelte-or0n3x {
  height: .25rem;
  background-color: #fff;
  border-radius: 9999px
}

.time-display.svelte-or0n3x {
  font-size: .875rem
}

.toast-container.svelte-yovsg7 {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translate(-50%);
  z-index: 50000;
  transition: all .3s;
  display: flex;
  align-items: center;
  justify-content: center
}

.toast-hidden.svelte-yovsg7 {
  opacity: 0;
  transform: translate(-50%) translateY(-20px)
}

.toast-visible.svelte-yovsg7 {
  opacity: 1;
  transform: translate(-50%) translateY(0)
}

.toast-content.svelte-yovsg7 {
  padding: .5rem 1rem;
  border-radius: .5rem;
  box-shadow: 0 10px 15px -3px #0000001a, 0 4px 6px -2px #0000000d;
  display: flex;
  align-items: center
}

.toast-success.svelte-yovsg7 {
  background-color: #10b981;
  color: #fff
}

.toast-error.svelte-yovsg7 {
  background-color: #ef4444;
  color: #fff
}

.toast-warning.svelte-yovsg7 {
  background-color: #f59e0b;
  color: #fff
}

.toast-info.svelte-yovsg7 {
  background-color: #f8df5a;
  color: #000
}

.toast-message.svelte-yovsg7 {
  font-size: .875rem;
  font-weight: 500
}

.toast-close.svelte-yovsg7 {
  margin-left: .75rem;
  font-size: .875rem;
  opacity: .7;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  outline: none;
  padding: 0;
  transition: opacity .2s
}

.toast-close.svelte-yovsg7:hover {
  opacity: 1
}

.progress-container.svelte-1oe46kw {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 300px
}

.progress-bar.svelte-1oe46kw {
  flex: 1;
  height: 8px;
  background-color: #374151;
  border-radius: 4px;
  overflow: hidden
}

.progress-fill.svelte-1oe46kw {
  height: 100%;
  background: linear-gradient(90deg, #8b5cf6 0%, #8b5cf6 100%);
  border-radius: 4px;
  transition: width .3s ease
}

.progress-text.svelte-1oe46kw {
  font-size: .875rem;
  color: #f8df5a;
  font-weight: 500;
  min-width: 40px;
  text-align: right
}

.tag-label.svelte-vhoab8 {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  border-radius: 999px;
  padding: 4px 6px;
  margin-left: 6px;
  vertical-align: middle;
  letter-spacing: .5px;
  line-height: 1
}

.select.svelte-ea2vx4 {
  position: relative;
  width: 100%;
  min-width: 180px;
  background: #32303f;
  border-radius: 8px;
  border: 1px solid #666185;
  box-sizing: border-box;
  font-size: 14px;
  color: #222;
  outline: none
}

.select-selector.svelte-ea2vx4 {
  display: flex;
  align-items: center;
  height: 56px;
  padding: 0 12px;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none
}

.select-selection-wrap.svelte-ea2vx4 {
  flex: 1;
  display: flex;
  align-items: center;
  min-width: 0
}

.select-selection-search.svelte-ea2vx4,
.select-selection-search-input.svelte-ea2vx4 {
  display: none
}

.select-selection-item.svelte-ea2vx4 {
  flex: 1;
  display: flex;
  align-items: center;
  min-width: 0
}

.select-arrow.svelte-ea2vx4 {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none
}

.select-dropdown.svelte-ea2vx4 {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #32303f;
  border: 1px solid #666185;
  border-radius: 8px;
  box-shadow: 0 4px 16px #00000014;
  z-index: 100;
  margin-top: 4px;
  padding: 4px
}

.select-list.svelte-ea2vx4 {
  list-style: none;
  margin: 0;
  padding: 0
}

.select-option.svelte-ea2vx4 {
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 6px;
  transition: background .15s;
  display: flex;
  align-items: center;
  gap: 10px
}

.select-option[aria-selected=true].svelte-ea2vx4,
.select-option.svelte-ea2vx4:hover {
  background: #f3f4f610
}

.size-3.svelte-ea2vx4 {
  width: 20px;
  height: 20px
}

.size-8.svelte-ea2vx4 {
  width: 32px;
  height: 32px
}

.text-f-text.svelte-ea2vx4 {
  color: #fff
}

.text-f-text-quaternary.svelte-ea2vx4 {
  color: #ffffff59;
  font-size: .75rem
}

.flex.svelte-ea2vx4 {
  display: flex
}

.flex-col.svelte-ea2vx4 {
  flex-direction: column
}

.gap-2.svelte-ea2vx4 {
  gap: 2px
}

.gap-5.svelte-ea2vx4 {
  gap: 5px
}

.gap-10.svelte-ea2vx4 {
  gap: 10px
}

.text-f-primary.svelte-ea2vx4 {
  color: #ff3466
}

.justify-center.svelte-ea2vx4 {
  justify-content: center
}

.items-center.svelte-ea2vx4 {
  align-items: center
}

.size-5.svelte-ea2vx4 {
  width: 1.25rem;
  height: 1.25rem
}

.inline-flex.svelte-ea2vx4 {
  display: inline-flex
}

.i-com--circle-check-solid.svelte-ea2vx4 {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask-image: var(--svg);
  mask-image: var(--svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' width='40' height='40'%3E%3Cg fill='none'%3E%3Cg clip-path='url(%23circle-check-solid_a)'%3E%3Cpath fill='black' d='M20 0C8.972 0 0 8.972 0 20s8.972 20 20 20 20-8.972 20-20S31.028 0 20 0m-2.998 28.826-7.426-7.41 2.824-2.832 4.598 4.59 10.588-10.588 2.828 2.828z'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='circle-check-solid_a'%3E%3Cpath fill='%23fff' d='M0 0h40v40H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/g%3E%3C/svg%3E")
}

.i-com--circle.svelte-ea2vx4 {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask-image: var(--svg);
  mask-image: var(--svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' width='40' height='40'%3E%3Cg fill='none'%3E%3Cg clip-path='url(%23circle_a)'%3E%3Cpath fill='black' d='M20 0C8.972 0 0 8.972 0 20c.002 11.03 8.974 20.002 20 20.002 11.028 0 20-8.972 20.002-20.002C40.002 8.972 31.03 0 20 0m0 36.002c-8.82 0-15.998-7.178-16-16.002 0-8.822 7.178-16 16-16 8.824 0 16.002 7.178 16.002 16C36 28.824 28.822 36.002 20 36.002'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='circle_a'%3E%3Cpath fill='%23fff' d='M0 0h40v40H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/g%3E%3C/svg%3E")
}

.i-com--time.svelte-ea2vx4 {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask-image: var(--svg);
  mask-image: var(--svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' width='48' height='48'%3E%3Cg fill='black'%3E%3Cpath d='M24 4C12.972 4 4 12.972 4 24s8.972 20 20 20 20-8.972 20-20S35.028 4 24 4m0 36c-8.822 0-16-7.178-16-16S15.178 8 24 8s16 7.178 16 16-7.178 16-16 16'/%3E%3Cpath d='M26 14h-4v10.828l6.586 6.586 2.828-2.828L26 23.172z'/%3E%3C/g%3E%3C/svg%3E")
}

.dc-tag.svelte-ea2vx4 {
  display: flex;
  padding: 1px 8px;
  color: #ffffff80;
  font-size: 12px;
  border: 1px solid #ffffff30;
  border-radius: 30px;
  height: 15px;
  line-height: 14px
}

.radius-4.svelte-ea2vx4 {
  border-radius: 4px
}

.demo-block.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  border: 1px solid #27293d;
  margin: 24px;
  padding: 16px;
  border-radius: 8px;
  color: #fafbfc
}

.demo-title.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  font-size: 1.2em;
  font-weight: 700;
  margin-bottom: 12px
}

.toast-demo.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px
}

.demo-btn.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: opacity .2s
}

.demo-btn.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2:hover {
  opacity: .8
}

.demo-btn.success.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  background-color: #10b981;
  color: #fff
}

.demo-btn.error.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  background-color: #ef4444;
  color: #fff
}

.demo-btn.warning.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  background-color: #f59e0b;
  color: #fff
}

.demo-btn.info.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  background-color: #f8df5a;
  color: #000
}

.segmented-demo.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  display: flex;
  flex-direction: column;
  gap: 12px
}

.demo-text.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  margin: 0;
  font-size: 14px;
  color: #9ca3af
}

.preview-demo.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  display: flex;
  flex-direction: column;
  gap: 12px
}

.modal-content-demo.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  display: flex;
  flex-direction: column;
  gap: 16px
}

.modal-actions.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  display: flex;
  gap: 8px;
  justify-content: flex-end
}

.modal-footer-demo.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  display: flex;
  justify-content: center;
  align-items: center
}

.safeimage-demo.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  display: flex;
  flex-direction: column;
  gap: 16px
}

.safeimage-examples.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  display: flex;
  flex-direction: column;
  gap: 20px
}

.safeimage-example.svelte-zbmra2 h4.svelte-zbmra2.svelte-zbmra2 {
  margin: 0 0 8px;
  font-size: 14px;
  color: #9ca3af
}

.safeimage-grid.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.progress-demo.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2,
.crop-demo.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  display: flex;
  flex-direction: column;
  gap: 16px
}

.crop-preview.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  position: relative;
  display: inline-block;
  border-radius: .5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px #0000001a
}

.crop-demo-image.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  width: 300px;
  height: 200px;
  -o-object-fit: cover;
  object-fit: cover;
  display: block
}

.crop-overlay.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s ease
}

.crop-preview.svelte-zbmra2:hover .crop-overlay.svelte-zbmra2.svelte-zbmra2 {
  opacity: 1
}

.crop-result.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  background: #1f2937;
  padding: 1rem;
  border-radius: .5rem;
  border: 1px solid #374151
}

.crop-result.svelte-zbmra2 h4.svelte-zbmra2.svelte-zbmra2 {
  margin: 0 0 12px;
  font-size: 14px;
  color: #9ca3af
}

.result-grid.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 8px;
  margin-bottom: 12px
}

.result-item.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 8px;
  background: #374151;
  border-radius: .25rem;
  font-size: 12px
}

.result-label.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  font-weight: 500;
  color: #9ca3af
}

.result-value.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  color: #fff;
  font-family: Courier New, monospace
}

.select-effect-demo.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  display: flex;
  flex-direction: column;
  gap: 16px
}

.form-group.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.form-group.svelte-zbmra2 label.svelte-zbmra2.svelte-zbmra2 {
  font-size: 14px;
  font-weight: 500;
  color: #9ca3af
}

.selected-info.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  background: #1f2937;
  padding: 1rem;
  border-radius: .5rem;
  border: 1px solid #374151
}

.selected-info.svelte-zbmra2 h4.svelte-zbmra2.svelte-zbmra2 {
  margin: 0 0 12px;
  font-size: 14px;
  color: #9ca3af
}

.effect-display.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  display: flex;
  align-items: center;
  gap: 16px
}

.effect-display.svelte-zbmra2 img.svelte-zbmra2.svelte-zbmra2 {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  -o-object-fit: cover;
  object-fit: cover
}

.effect-details.svelte-zbmra2 h5.svelte-zbmra2.svelte-zbmra2 {
  margin: 0 0 8px;
  color: #10b981;
  font-size: 16px
}

.effect-details.svelte-zbmra2 p.svelte-zbmra2.svelte-zbmra2 {
  margin: 0 0 8px;
  color: #9ca3af;
  font-size: 14px
}

.featured-tag.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  display: inline-block;
  background: #ffd700;
  color: #000;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase
}

.demo-controls.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  display: flex;
  gap: 8px;
  flex-wrap: wrap
}

.demo-controls.svelte-zbmra2 .demo-btn.svelte-zbmra2.svelte-zbmra2 {
  margin-bottom: 8px
}

.form-group.svelte-zbmra2 .demo-controls.svelte-zbmra2.svelte-zbmra2 {
  margin-top: 8px
}

.select-effect-demo.svelte-zbmra2 .demo-text.svelte-zbmra2.svelte-zbmra2 {
  margin-bottom: 16px;
  line-height: 1.5
}

.formrender-selecteffect-demo.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  display: flex;
  flex-direction: column;
  gap: 16px
}

.formrender-selecteffect-demo.svelte-zbmra2 .demo-text.svelte-zbmra2.svelte-zbmra2 {
  margin-bottom: 16px;
  line-height: 1.5
}

.multi-image-uploader-demo.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  display: flex;
  flex-direction: column;
  gap: 16px
}

.multi-image-uploader-demo.svelte-zbmra2 .demo-text.svelte-zbmra2.svelte-zbmra2 {
  margin-bottom: 16px;
  line-height: 1.5
}

.demo-info.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  background: #1f2937;
  padding: 1rem;
  border-radius: .5rem;
  border: 1px solid #374151;
  margin-top: 1rem
}

.demo-info.svelte-zbmra2 p.svelte-zbmra2.svelte-zbmra2 {
  margin: 0 0 8px;
  color: #9ca3af;
  font-size: 14px
}

.demo-info.svelte-zbmra2 p.svelte-zbmra2.svelte-zbmra2:last-child {
  margin-bottom: 0
}

.uploaded-images-info.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  background: #1f2937;
  padding: 1rem;
  border-radius: .5rem;
  border: 1px solid #374151;
  margin-top: 1rem
}

.uploaded-images-info.svelte-zbmra2 h4.svelte-zbmra2.svelte-zbmra2 {
  margin: 0 0 12px;
  font-size: 14px;
  color: #9ca3af
}

.images-grid.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px
}

.image-info-card.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  background: #374151;
  border-radius: .5rem;
  overflow: hidden;
  border: 1px solid #4b5563
}

.image-info-card.svelte-zbmra2 img.svelte-zbmra2.svelte-zbmra2 {
  width: 100%;
  height: 120px;
  -o-object-fit: cover;
  object-fit: cover
}

.image-details.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  padding: 12px
}

.image-details.svelte-zbmra2 p.svelte-zbmra2.svelte-zbmra2 {
  margin: 4px 0;
  font-size: 12px;
  color: #d1d5db
}

.url-array-display.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  background: #1f2937;
  padding: 1rem;
  border-radius: .5rem;
  border: 1px solid #374151;
  margin-top: 1rem
}

.url-array-display.svelte-zbmra2 h4.svelte-zbmra2.svelte-zbmra2 {
  margin: 0 0 12px;
  font-size: 14px;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 8px
}

.url-list.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px
}

.url-item.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px;
  background: #374151;
  border-radius: .375rem;
  border: 1px solid #4b5563
}

.url-index.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  background: #8b5cf6;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  min-width: 20px;
  text-align: center
}

.url-text.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  color: #d1d5db;
  font-size: 12px;
  font-family: Monaco, Menlo, Ubuntu Mono, monospace;
  word-break: break-all;
  line-height: 1.4;
  flex: 1
}

.url-summary.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  background: #374151;
  padding: 12px;
  border-radius: .375rem;
  border: 1px solid #4b5563
}

.url-summary.svelte-zbmra2 p.svelte-zbmra2.svelte-zbmra2 {
  margin: 4px 0;
  font-size: 12px;
  color: #d1d5db
}

.url-summary.svelte-zbmra2 code.svelte-zbmra2.svelte-zbmra2 {
  background: #1f2937;
  color: #fbbf24;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-family: Monaco, Menlo, Ubuntu Mono, monospace
}

.no-urls.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  color: #9ca3af;
  font-style: italic;
  text-align: center;
  padding: 20px;
  margin: 0
}

.image-details.svelte-zbmra2 p.svelte-zbmra2.svelte-zbmra2 {
  margin: 0 0 6px;
  color: #d1d5db;
  font-size: 12px
}

.image-details.svelte-zbmra2 p.svelte-zbmra2.svelte-zbmra2:last-child {
  margin-bottom: 0
}

.image-details.svelte-zbmra2 p.svelte-zbmra2 strong.svelte-zbmra2 {
  color: #fff
}

.formrender-multiimage-demo.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  display: flex;
  flex-direction: column;
  gap: 16px
}

.formrender-multiimage-demo.svelte-zbmra2 .demo-text.svelte-zbmra2.svelte-zbmra2 {
  margin-bottom: 16px;
  line-height: 1.5
}

.demo-section.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  background: #1f2937;
  padding: 1rem;
  border-radius: .5rem;
  border: 1px solid #374151;
  margin-bottom: 1rem
}

.demo-section.svelte-zbmra2 h4.svelte-zbmra2.svelte-zbmra2 {
  margin: 0 0 12px;
  font-size: 14px;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 8px
}

.form-data-preview.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  display: flex;
  flex-direction: column;
  gap: 12px
}

.data-item.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  padding: 8px 12px;
  background: #374151;
  border-radius: .375rem;
  border: 1px solid #4b5563;
  font-size: 14px;
  color: #d1d5db
}

.data-item.svelte-zbmra2 strong.svelte-zbmra2.svelte-zbmra2 {
  color: #fff;
  margin-right: 8px
}

.mini-image-grid.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap
}

.mini-image-item.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: .375rem;
  overflow: hidden;
  border: 1px solid #4b5563
}

.mini-image-item.svelte-zbmra2 img.svelte-zbmra2.svelte-zbmra2 {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover
}

.mini-image-index.svelte-zbmra2.svelte-zbmra2.svelte-zbmra2 {
  position: absolute;
  top: 2px;
  right: 2px;
  background: #8b5cf6;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 1px 4px;
  border-radius: 4px;
  min-width: 16px;
  text-align: center
}

.formrender-multiimage-demo.svelte-zbmra2 .demo-controls.svelte-zbmra2.svelte-zbmra2 {
  margin-top: 16px
}

.app.svelte-1smc1tw.svelte-1smc1tw {
  padding: 1rem;
  margin: 0
}

.app-container.svelte-1smc1tw.svelte-1smc1tw {
  display: flex;
  max-width: 100%;
  overflow: hidden;
  gap: 1rem
}

.left-panel.svelte-1smc1tw.svelte-1smc1tw,
.right-panel.svelte-1smc1tw.svelte-1smc1tw {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 2rem);
  overflow: hidden
}

.left-panel.svelte-1smc1tw.svelte-1smc1tw {
  width: 40%;
  flex-shrink: 0
}

.right-panel.svelte-1smc1tw.svelte-1smc1tw {
  flex-grow: 1
}

@media (max-width: 768px) {
  .app-container.svelte-1smc1tw.svelte-1smc1tw {
    flex-direction: column;
    height: auto
  }

  .left-panel.svelte-1smc1tw.svelte-1smc1tw,
  .right-panel.svelte-1smc1tw.svelte-1smc1tw {
    width: 100%;
    flex: none;
    height: 100%;
    padding: .2em
  }
}

.mobile.svelte-1smc1tw .right-panel.svelte-1smc1tw {
  z-index: 10;
  width: auto;
  box-sizing: border-box
}

.mobile.svelte-1smc1tw .left-panel.svelte-1smc1tw {
  box-sizing: border-box
}

.floating-btn.svelte-1smc1tw.svelte-1smc1tw {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px #0000004d;
  transition: all .3s ease;
  z-index: 1000
}

.floating-btn.svelte-1smc1tw.svelte-1smc1tw:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px #0006
}

.floating-btn.svelte-1smc1tw.svelte-1smc1tw:active {
  transform: translateY(0)
}

@media (max-width: 768px) {
  .floating-btn.svelte-1smc1tw.svelte-1smc1tw {
    right: 0;
    bottom: 6rem;
    width: 3rem;
    height: 3rem
  }
}

.edit-plan-container.svelte-1v380n2 {
  width: 100%;
  padding: 1.5rem;
  box-sizing: border-box
}

.toggle-center.svelte-1v380n2 {
  text-align: center;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none
}

.toggle-wrapper.svelte-1v380n2 {
  display: inline-flex;
  border-radius: 9999px;
  background-color: #1f293780;
  padding: .375rem;
  backdrop-filter: blur(12px)
}

.sr-only.svelte-1v380n2 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0
}

.toggle-button.svelte-1v380n2 {
  position: relative;
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: .5rem 1.25rem;
  font-size: .875rem;
  font-weight: 500;
  transition: all .3s ease-in-out;
  color: #fff
}

.toggle-button.active.svelte-1v380n2 {
  background-color: #6366f1
}

.discount-badge.svelte-1v380n2 {
  position: absolute;
  z-index: 10;
  right: -.5rem;
  top: -.75rem;
  height: 1.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: linear-gradient(to right, #fbbf24, #f97316);
  padding: 0 .5rem;
  font-size: 11px;
  font-weight: 500;
  color: #000;
  line-height: 20px;
  box-shadow: 0 1px 2px #0000000d
}

.plans-section.svelte-1v380n2 {
  padding: 1.5rem 0;
  overflow-x: auto
}

.plans-container.svelte-1v380n2 {
  margin: 0 auto;
  min-width: 0
}

.plans-list.svelte-1v380n2 {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  list-style: none;
  padding: 0;
  margin: 0
}

.plan-item.svelte-1v380n2 {
  position: relative;
  padding: .75rem;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: .5rem;
  cursor: pointer;
  transition: background-color .2s
}

.plan-item.svelte-1v380n2:hover {
  background-color: #ffffff0d
}

.plan-item.current-plan.svelte-1v380n2 {
  background-color: #0003;
  pointer-events: none
}

.plan-tag-wrapper.svelte-1v380n2 {
  position: absolute;
  top: .375rem;
  right: .5rem;
  z-index: 10
}

.plan-tag.svelte-1v380n2 {
  display: inline-flex;
  align-items: center;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  transition-duration: .15s;
  border-color: transparent;
  background: linear-gradient(to right, #6366f1, #8b5cf6);
  color: #fff;
  font-weight: 600;
  padding: .25rem .75rem;
  font-size: .75rem;
  box-shadow: 0 10px 15px -3px #0000001a, 0 4px 6px -2px #0000000d;
  border: 0;
  border-radius: 9999px
}

.tag-text.svelte-1v380n2 {
  display: flex;
  align-items: center
}

.plan-label.svelte-1v380n2 {
  display: flex;
  align-items: center;
  gap: .75rem;
  position: relative
}

.plan-radio.svelte-1v380n2 {
  color: #3b82f6
}

.plan-header.svelte-1v380n2 {
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: .5rem
}

.plan-name.svelte-1v380n2 {
  color: #fff
}

.plan-price.svelte-1v380n2 {
  font-size: .875rem;
  color: #eab308
}

.plan-credits.svelte-1v380n2 {
  font-size: .625rem;
  color: #fffc
}

.current-plan-badge.svelte-1v380n2 {
  border-radius: 9999px;
  color: #6b7280;
  font-size: .625rem;
  font-weight: 700
}

.plan-tip.svelte-1v380n2 {
  margin-top: .5rem;
  background-color: #ffffff0d;
  padding: .5rem .75rem;
  font-size: .75rem;
  border-radius: .5rem;
  color: #fffc;
  word-wrap: break-word;
  overflow-wrap: break-word
}

.confirm-button.svelte-1v380n2 {
  width: 100%;
  background-color: #2563eb;
  color: #fff;
  padding: .5rem 1rem;
  border-radius: 9999px;
  transition: background-color .2s;
  border: none;
  cursor: pointer;
  font-size: 1rem
}

.confirm-button.svelte-1v380n2:hover {
  background-color: #1d4ed8
}

.cancel-subscription-button.svelte-1v380n2 {
  width: 100%;
  margin-top: .5rem;
  color: #6b7280;
  text-decoration-offset: 8px;
  padding: .5rem 1rem;
  border-radius: 9999px;
  transition: color .2s;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1rem
}

.cancel-subscription-button.svelte-1v380n2:hover {
  color: #9ca3af
}

.bg-gradient2 {
  background: linear-gradient(135deg, #1e1e2e 0%, #2d2d44 100%)
}

.confirm-dialog-backdrop.svelte-m0sjf4 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #00000080;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem
}

.confirm-dialog-container.svelte-m0sjf4 {
  background: linear-gradient(to bottom, #181A20, #181A20);
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px #0000001a, 0 10px 10px -5px #0000000a;
  max-width: 24rem;
  width: 100%;
  padding: 1.5rem;
  position: relative
}

.close-button.svelte-m0sjf4 {
  position: absolute;
  top: .75rem;
  right: .75rem;
  color: #9ca3af;
  background: none;
  border: none;
  cursor: pointer;
  padding: .25rem;
  border-radius: .25rem;
  transition: color .2s
}

.close-button.svelte-m0sjf4:hover {
  color: #4b5563
}

.dialog-content.svelte-m0sjf4 {
  display: flex;
  flex-direction: column;
  align-items: center
}

.dialog-message.svelte-m0sjf4 {
  color: #fff;
  text-align: center;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.5
}

.confirm-button.svelte-m0sjf4 {
  color: #fff;
  padding: .5rem 1.5rem;
  border-radius: 9999px;
  transition: background-color .2s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500
}

.bg-red-600.svelte-m0sjf4 {
  background-color: #dc2626
}

.hover\:bg-red-700.svelte-m0sjf4:hover {
  background-color: #b91c1c
}

.bg-blue-600.svelte-m0sjf4 {
  background-color: #2563eb
}

.hover\:bg-blue-700.svelte-m0sjf4:hover {
  background-color: #1d4ed8
}

.bg-green-600.svelte-m0sjf4 {
  background-color: #16a34a
}

.hover\:bg-green-700.svelte-m0sjf4:hover {
  background-color: #15803d
}

.bg-gray-600.svelte-m0sjf4 {
  background-color: #4b5563
}

.hover\:bg-gray-700.svelte-m0sjf4:hover {
  background-color: #374151
}

@keyframes svelte-1y6c44u-spin {
  0% {
    transform: rotate(0)
  }

  to {
    transform: rotate(360deg)
  }
}

.global-loading-overlay.svelte-1mfrpfk {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #000000b3;
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999
}

.global-loading-content.svelte-1mfrpfk {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem
}

.loading-spinner.svelte-1mfrpfk {
  width: 50px;
  height: 50px
}

.spinner-svg.svelte-1mfrpfk {
  animation: svelte-1mfrpfk-rotate 2s linear infinite;
  width: 100%;
  height: 100%
}

.spinner-circle.svelte-1mfrpfk {
  stroke: #a570ff;
  stroke-linecap: round;
  animation: svelte-1mfrpfk-dash 1.5s ease-in-out infinite
}

.loading-text.svelte-1mfrpfk {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  max-width: 200px
}

@keyframes svelte-1mfrpfk-rotate {
  to {
    transform: rotate(360deg)
  }
}

@keyframes svelte-1mfrpfk-dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0
  }

  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35
  }

  to {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124
  }
}

/* 省略号动画样式 */
.dots-animation::after {
  content: '';
  animation: dots 1.5s infinite;
}

@keyframes dots {

  0%,
  20% {
    content: '';
  }

  40% {
    content: '.';
  }

  60% {
    content: '..';
  }

  80%,
  100% {
    content: '...';
  }
}