.aigg-elementor-characters {
	width: 100%;
}

.aigg-elementor-characters__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.aigg-elementor-characters--ltr .aigg-elementor-characters__grid {
	direction: ltr;
}

.aigg-elementor-characters--rtl .aigg-elementor-characters__grid {
	direction: rtl;
}

.aigg-elementor-card {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	border: 1px solid #d7ded9;
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 10px 24px rgba(21, 30, 26, 0.1);
	overflow: hidden;
	transform: translateY(0) scale(1);
	transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.aigg-elementor-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 3;
	pointer-events: none;
	background: linear-gradient(115deg, transparent 0%, transparent 36%, rgba(255, 255, 255, 0.4) 46%, transparent 58%, transparent 100%);
	transform: translateX(-140%);
	transition: transform 520ms ease;
}

.aigg-elementor-card:hover,
.aigg-elementor-card:focus-within {
	border-color: #9fb8ad;
	box-shadow: 0 18px 40px rgba(18, 29, 24, 0.16);
	transform: translateY(-4px) scale(1.015);
}

.aigg-elementor-card:hover::before,
.aigg-elementor-card:focus-within::before {
	transform: translateX(140%);
}

.aigg-elementor-card--hidden {
	display: none;
}

.aigg-elementor-card__click-target {
	position: absolute;
	inset: 0;
	z-index: 6;
	display: block;
	border-radius: inherit;
	text-decoration: none;
}

.aigg-elementor-card__click-target:focus-visible {
	outline: 3px solid #235640;
	outline-offset: -3px;
}

.aigg-elementor-card__media {
	position: relative;
	aspect-ratio: 4 / 5;
	background: #edf2ef;
	overflow: hidden;
}

.aigg-elementor-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(12, 20, 17, 0.04) 0%, rgba(12, 20, 17, 0.22) 100%);
	pointer-events: none;
	transition: background 220ms ease;
}

.aigg-elementor-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1);
	transition: transform 320ms ease, filter 320ms ease;
}

.aigg-elementor-card:hover .aigg-elementor-card__image,
.aigg-elementor-card:focus-within .aigg-elementor-card__image {
	filter: saturate(1.08) contrast(1.04);
	transform: scale(1.045);
}

.aigg-elementor-card__media--coming-soon .aigg-elementor-card__image {
	filter: grayscale(1);
	opacity: 0.58;
}

.aigg-elementor-card:hover .aigg-elementor-card__media--coming-soon .aigg-elementor-card__image,
.aigg-elementor-card:focus-within .aigg-elementor-card__media--coming-soon .aigg-elementor-card__image {
	filter: grayscale(1);
	opacity: 0.58;
}

.aigg-elementor-card__media-overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	background: rgba(18, 24, 22, 0.32);
	pointer-events: none;
}
.aigg-elementor-card__image-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #53615a;
	font-size: 14px;
}

.aigg-elementor-card__particles {
	position: absolute;
	inset: 0;
	z-index: 4;
	pointer-events: none;
	overflow: hidden;
}

.aigg-elementor-card__particles span {
	position: absolute;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 0 14px rgba(255, 255, 255, 0.9);
	opacity: 0;
	transform: translate3d(0, 0, 0) scale(0.6);
}

.aigg-elementor-card__particles span:nth-child(1) { left: 18%; top: 42%; --aigg-particle-x: -18px; }
.aigg-elementor-card__particles span:nth-child(2) { left: 28%; top: 68%; width: 5px; height: 5px; background: #7bdcb5; --aigg-particle-x: 14px; }
.aigg-elementor-card__particles span:nth-child(3) { left: 48%; top: 36%; width: 6px; height: 6px; background: #f4d35e; --aigg-particle-x: -8px; }
.aigg-elementor-card__particles span:nth-child(4) { left: 68%; top: 56%; width: 8px; height: 8px; background: #8ecae6; --aigg-particle-x: 18px; }
.aigg-elementor-card__particles span:nth-child(5) { left: 78%; top: 32%; width: 4px; height: 4px; --aigg-particle-x: -14px; }
.aigg-elementor-card__particles span:nth-child(6) { left: 38%; top: 78%; width: 5px; height: 5px; background: #ffaf87; --aigg-particle-x: 10px; }
.aigg-elementor-card__particles span:nth-child(7) { left: 84%; top: 72%; width: 6px; height: 6px; background: #7bdcb5; --aigg-particle-x: -22px; }
.aigg-elementor-card__particles span:nth-child(8) { left: 12%; top: 24%; width: 4px; height: 4px; background: #8ecae6; --aigg-particle-x: 20px; }

.aigg-elementor-card:hover .aigg-elementor-card__particles span,
.aigg-elementor-card:focus-within .aigg-elementor-card__particles span {
	animation: aigg-elementor-particle-rise 820ms ease-out both;
}

.aigg-elementor-card:hover .aigg-elementor-card__particles span:nth-child(2),
.aigg-elementor-card:focus-within .aigg-elementor-card__particles span:nth-child(2) { animation-delay: 45ms; }
.aigg-elementor-card:hover .aigg-elementor-card__particles span:nth-child(3),
.aigg-elementor-card:focus-within .aigg-elementor-card__particles span:nth-child(3) { animation-delay: 90ms; }
.aigg-elementor-card:hover .aigg-elementor-card__particles span:nth-child(4),
.aigg-elementor-card:focus-within .aigg-elementor-card__particles span:nth-child(4) { animation-delay: 135ms; }
.aigg-elementor-card:hover .aigg-elementor-card__particles span:nth-child(5),
.aigg-elementor-card:focus-within .aigg-elementor-card__particles span:nth-child(5) { animation-delay: 180ms; }
.aigg-elementor-card:hover .aigg-elementor-card__particles span:nth-child(6),
.aigg-elementor-card:focus-within .aigg-elementor-card__particles span:nth-child(6) { animation-delay: 225ms; }
.aigg-elementor-card:hover .aigg-elementor-card__particles span:nth-child(7),
.aigg-elementor-card:focus-within .aigg-elementor-card__particles span:nth-child(7) { animation-delay: 270ms; }
.aigg-elementor-card:hover .aigg-elementor-card__particles span:nth-child(8),
.aigg-elementor-card:focus-within .aigg-elementor-card__particles span:nth-child(8) { animation-delay: 315ms; }

@keyframes aigg-elementor-particle-rise {
	0% { opacity: 0; transform: translate3d(0, 10px, 0) scale(0.45); }
	24% { opacity: 0.9; }
	100% { opacity: 0; transform: translate3d(var(--aigg-particle-x, 10px), -42px, 0) scale(1.25); }
}

.aigg-elementor-card__body {
	display: flex;
	position: relative;
	z-index: 2;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	padding: 16px;
}

.aigg-elementor-card__id {
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	color: #235640;
	word-break: break-word;
}

.aigg-elementor-card__description {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: #303634;
}


.aigg-elementor-characters__notice {
	padding: 14px 16px;
	border: 1px solid #cfd8d2;
	border-radius: 8px;
	background: #f5f8f6;
	color: #1d1f1f;
	font-size: 15px;
	line-height: 1.6;
}

.aigg-elementor-characters__sentinel {
	height: 1px;
}

@media (max-width: 767px) {
	.aigg-elementor-characters__grid {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.aigg-elementor-card,
	.aigg-elementor-card::before,
	.aigg-elementor-card__image {
		transition: none;
	}

	.aigg-elementor-card:hover,
	.aigg-elementor-card:focus-within,
	.aigg-elementor-card:hover .aigg-elementor-card__image,
	.aigg-elementor-card:focus-within .aigg-elementor-card__image {
		transform: none;
	}

	.aigg-elementor-card:hover .aigg-elementor-card__particles span,
	.aigg-elementor-card:focus-within .aigg-elementor-card__particles span,
	.aigg-custom-character__reference-media.is-generating .aigg-custom-character__slot-particles span,
	.aigg-custom-character__preview-media.is-generating .aigg-custom-character__slot-particles span {
		animation: none;
	}
}
.aigg-elementor-characters--ratio-4-5 .aigg-elementor-card__media { aspect-ratio: 4 / 5; }
.aigg-elementor-characters--ratio-3-4 .aigg-elementor-card__media { aspect-ratio: 3 / 4; }
.aigg-elementor-characters--ratio-1-1 .aigg-elementor-card__media { aspect-ratio: 1 / 1; }
.aigg-elementor-characters--ratio-16-9 .aigg-elementor-card__media { aspect-ratio: 16 / 9; }

.aigg-elementor-card--media-only .aigg-elementor-card__media {
	flex: 1 1 auto;
	height: 100%;
	min-height: 100%;
	aspect-ratio: auto;
}

.aigg-elementor-characters--no-hover .aigg-elementor-card,
.aigg-elementor-characters--no-hover .aigg-elementor-card::before,
.aigg-elementor-characters--no-hover .aigg-elementor-card__image {
	transition: none;
}

.aigg-elementor-characters--no-hover .aigg-elementor-card:hover,
.aigg-elementor-characters--no-hover .aigg-elementor-card:focus-within,
.aigg-elementor-characters--no-hover .aigg-elementor-card:hover .aigg-elementor-card__image,
.aigg-elementor-characters--no-hover .aigg-elementor-card:focus-within .aigg-elementor-card__image {
	border-color: #d7ded9;
	box-shadow: 0 10px 24px rgba(21, 30, 26, 0.1);
	filter: none;
	transform: none;
}

.aigg-elementor-characters--no-hover .aigg-elementor-card:hover::before,
.aigg-elementor-characters--no-hover .aigg-elementor-card:focus-within::before {
	transform: translateX(-140%);
}

.aigg-elementor-characters--no-particles .aigg-elementor-card__particles {
	display: none;
}

.aigg-elementor-card__badge {
	--aigg-badge-offset-x: 10px;
	--aigg-badge-offset-y: 10px;
	position: absolute;
	top: var(--aigg-badge-offset-y);
	left: var(--aigg-badge-offset-x);
	z-index: 5;
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 4px 8px;
	border-radius: 8px;
	background: rgba(29, 31, 31, 0.78);
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	box-shadow: 0 8px 18px rgba(12, 20, 17, 0.18);
}

.aigg-badge-position-top-left .aigg-elementor-card__badge {
	top: var(--aigg-badge-offset-y);
	right: auto;
	bottom: auto;
	left: var(--aigg-badge-offset-x);
}

.aigg-badge-position-top-right .aigg-elementor-card__badge {
	top: var(--aigg-badge-offset-y);
	right: var(--aigg-badge-offset-x);
	bottom: auto;
	left: auto;
}

.aigg-badge-position-bottom-left .aigg-elementor-card__badge {
	top: auto;
	right: auto;
	bottom: var(--aigg-badge-offset-y);
	left: var(--aigg-badge-offset-x);
}

.aigg-badge-position-bottom-right .aigg-elementor-card__badge {
	top: auto;
	right: var(--aigg-badge-offset-x);
	bottom: var(--aigg-badge-offset-y);
	left: auto;
}

.aigg-elementor-characters__upgrade-link {
	display: inline-flex;
	margin-inline-start: 8px;
	color: #235640;
	font-weight: 700;
	text-decoration: underline;
}

.aigg-elementor-card--filtered {
	display: none !important;
}

.aigg-taxonomy-filter {
	--aigg-filter-align: flex-start;
	--aigg-filter-gap: 10px;
	--aigg-filter-icon-gap: 6px;
	display: flex;
	width: 100%;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--aigg-filter-gap);
	justify-content: var(--aigg-filter-align);
}

.aigg-taxonomy-filter__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--aigg-filter-icon-gap);
	min-height: 36px;
	padding: 8px 14px;
	border: 1px solid #cfd8d2;
	border-radius: 8px;
	background: #ffffff;
	color: #1f2a25;
	font: inherit;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.aigg-taxonomy-filter--pills .aigg-taxonomy-filter__item {
	border-radius: 999px;
}


.aigg-taxonomy-filter__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	color: currentColor;
	flex: 0 0 auto;
}

.aigg-taxonomy-filter__icon svg,
.aigg-taxonomy-filter__icon i {
	display: block;
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.aigg-taxonomy-filter__icon img {
	display: block;
	width: 1em;
	height: 1em;
	object-fit: contain;
}

.aigg-taxonomy-filter__label {
	display: inline-flex;
	align-items: center;
}

.aigg-taxonomy-filter__item:hover,
.aigg-taxonomy-filter__item:focus-visible {
	border-color: #8eaaa0;
	background: #eef5f1;
	color: #123529;
	outline: none;
	box-shadow: 0 8px 18px rgba(21, 30, 26, 0.1);
}

.aigg-taxonomy-filter__item.is-active {
	border-color: #235640;
	background: #235640;
	color: #ffffff;
}

.aigg-elementor-carousel {
	position: relative;
	width: 100%;
	direction: ltr;
	--aigg-carousel-gap: 20px;
	--aigg-carousel-slides-per-view: 1;
	--aigg-carousel-arrow-size: 40px;
	--aigg-carousel-arrow-offset: 8px;
	--aigg-carousel-dot-size: 10px;
}

.aigg-carousel__swiper {
	overflow: hidden;
	touch-action: pan-y;
	user-select: none;
	-webkit-user-select: none;
}

.aigg-carousel__swiper.is-dragging,
.aigg-elementor-carousel.is-dragging .aigg-carousel__swiper {
	cursor: grabbing;
}

.aigg-carousel__swiper .swiper-wrapper {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: var(--aigg-carousel-gap);
	transition: transform 320ms ease;
	will-change: transform;
	cursor: grab;
}

.aigg-carousel__swiper .swiper-slide {
	flex: 0 0 calc((100% - (var(--aigg-carousel-gap) * (var(--aigg-carousel-slides-per-view) - 1))) / var(--aigg-carousel-slides-per-view));
	width: calc((100% - (var(--aigg-carousel-gap) * (var(--aigg-carousel-slides-per-view) - 1))) / var(--aigg-carousel-slides-per-view));
	min-width: 0;
	height: auto;
}

.aigg-carousel-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	border-radius: 8px;
	border: 1px solid #d7ded9;
	background: #ffffff;
	box-shadow: 0 10px 24px rgba(21, 30, 26, 0.1);
	overflow: hidden;
	isolation: isolate;
}

.aigg-carousel-card__media {
	position: relative;
	aspect-ratio: 4 / 5;
	background: #edf2ef;
	overflow: hidden;
}

.aigg-elementor-carousel--ratio-4-5 .aigg-carousel-card__media { aspect-ratio: 4 / 5; }
.aigg-elementor-carousel--ratio-3-4 .aigg-carousel-card__media { aspect-ratio: 3 / 4; }
.aigg-elementor-carousel--ratio-1-1 .aigg-carousel-card__media { aspect-ratio: 1 / 1; }
.aigg-elementor-carousel--ratio-16-9 .aigg-carousel-card__media { aspect-ratio: 16 / 9; }

.aigg-carousel-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(12, 20, 17, 0.04) 0%, rgba(12, 20, 17, 0.22) 100%);
	pointer-events: none;
	transition: background 220ms ease;
}

.aigg-carousel-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1);
	transition: transform 320ms ease, filter 320ms ease;
	user-drag: none;
	-webkit-user-drag: none;
	user-select: none;
	-webkit-user-select: none;
	pointer-events: none;
}

.aigg-elementor-carousel:not(.aigg-elementor-carousel--no-hover) .aigg-carousel-card:hover .aigg-carousel-card__image,
.aigg-elementor-carousel:not(.aigg-elementor-carousel--no-hover) .aigg-carousel-card:focus-within .aigg-carousel-card__image {
	filter: saturate(1.08) contrast(1.04);
	transform: scale(1.045);
}

.aigg-carousel-card__media--coming-soon .aigg-carousel-card__image {
	filter: grayscale(1);
	opacity: 0.58;
}

.aigg-elementor-carousel:not(.aigg-elementor-carousel--no-hover) .aigg-carousel-card__media--coming-soon:hover .aigg-carousel-card__image,
.aigg-elementor-carousel:not(.aigg-elementor-carousel--no-hover) .aigg-carousel-card__media--coming-soon:focus-within .aigg-carousel-card__image {
	filter: grayscale(1);
	opacity: 0.58;
}

.aigg-carousel-card__media-overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	background: rgba(18, 24, 22, 0.32);
	pointer-events: none;
}

.aigg-carousel-card__image-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #53615a;
	font-size: 14px;
}

.aigg-carousel-card__body {
	position: relative;
	z-index: 2;
	padding: 16px;
}

.aigg-carousel-card__title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
	color: #1f2a25;
}

.aigg-carousel-card__particles {
	position: absolute;
	inset: 0;
	z-index: 4;
	pointer-events: none;
	overflow: hidden;
}

.aigg-carousel-card__particles span {
	position: absolute;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 0 14px rgba(255, 255, 255, 0.9);
	opacity: 0;
	transform: translate3d(0, 0, 0) scale(0.6);
}

.aigg-carousel-card__particles span:nth-child(1) { left: 18%; top: 42%; --aigg-particle-x: -18px; }
.aigg-carousel-card__particles span:nth-child(2) { left: 28%; top: 68%; width: 5px; height: 5px; background: #7bdcb5; --aigg-particle-x: 14px; }
.aigg-carousel-card__particles span:nth-child(3) { left: 48%; top: 36%; width: 6px; height: 6px; background: #f4d35e; --aigg-particle-x: -8px; }
.aigg-carousel-card__particles span:nth-child(4) { left: 68%; top: 56%; width: 8px; height: 8px; background: #8ecae6; --aigg-particle-x: 18px; }
.aigg-carousel-card__particles span:nth-child(5) { left: 78%; top: 32%; width: 4px; height: 4px; --aigg-particle-x: -14px; }
.aigg-carousel-card__particles span:nth-child(6) { left: 38%; top: 78%; width: 5px; height: 5px; background: #ffaf87; --aigg-particle-x: 10px; }
.aigg-carousel-card__particles span:nth-child(7) { left: 84%; top: 72%; width: 6px; height: 6px; background: #7bdcb5; --aigg-particle-x: -22px; }
.aigg-carousel-card__particles span:nth-child(8) { left: 12%; top: 24%; width: 4px; height: 4px; background: #8ecae6; --aigg-particle-x: 20px; }

.aigg-elementor-carousel:not(.aigg-elementor-carousel--no-particles) .aigg-carousel-card:hover .aigg-carousel-card__particles span,
.aigg-elementor-carousel:not(.aigg-elementor-carousel--no-particles) .aigg-carousel-card:focus-within .aigg-carousel-card__particles span {
	animation: aigg-elementor-particle-rise 820ms ease-out both;
}

.aigg-elementor-carousel--no-particles .aigg-carousel-card__particles {
	display: none;
}

.aigg-carousel-card__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	right: auto;
	bottom: auto;
	z-index: 5;
	display: inline-flex;
	align-items: center;
	padding: 6px 10px;
	border-radius: 999px;
	background: #1f2a25;
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.1;
	--aigg-carousel-badge-offset-x: 0px;
	--aigg-carousel-badge-offset-y: 0px;
}

.aigg-carousel-badge-position-top-left .aigg-carousel-card__badge {
	top: calc(12px + var(--aigg-carousel-badge-offset-y, 0px));
	left: calc(12px + var(--aigg-carousel-badge-offset-x, 0px));
	right: auto;
	bottom: auto;
}

.aigg-carousel-badge-position-top-right .aigg-carousel-card__badge {
	top: calc(12px + var(--aigg-carousel-badge-offset-y, 0px));
	right: calc(12px + var(--aigg-carousel-badge-offset-x, 0px));
	left: auto;
	bottom: auto;
}

.aigg-carousel-badge-position-bottom-left .aigg-carousel-card__badge {
	bottom: calc(12px + var(--aigg-carousel-badge-offset-y, 0px));
	left: calc(12px + var(--aigg-carousel-badge-offset-x, 0px));
	top: auto;
	right: auto;
}

.aigg-carousel-badge-position-bottom-right .aigg-carousel-card__badge {
	bottom: calc(12px + var(--aigg-carousel-badge-offset-y, 0px));
	right: calc(12px + var(--aigg-carousel-badge-offset-x, 0px));
	top: auto;
	left: auto;
}

.aigg-carousel__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 6;
	width: var(--aigg-carousel-arrow-size);
	height: var(--aigg-carousel-arrow-size);
	border: 0;
	border-radius: 999px;
	background: rgba(31, 42, 37, 0.82);
	color: #ffffff;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	line-height: 1;
	font-size: 18px;
	transition: opacity 180ms ease, background 180ms ease, transform 180ms ease;
}

.aigg-carousel__arrow-icon {
	display: block;
	width: 0.7em;
	height: 0.7em;
	border-top: 0.16em solid currentColor;
	border-right: 0.16em solid currentColor;
	box-sizing: border-box;
	flex: 0 0 auto;
}

.aigg-carousel__arrow--prev .aigg-carousel__arrow-icon {
	transform: translateX(1px) rotate(-135deg);
}

.aigg-carousel__arrow--next .aigg-carousel__arrow-icon {
	transform: translateX(-1px) rotate(45deg);
}

.aigg-carousel__arrow:disabled {
	opacity: 0.45;
	cursor: default;
}

.aigg-elementor-carousel--arrows-inside .aigg-carousel__arrow--prev { left: var(--aigg-carousel-arrow-offset); }
.aigg-elementor-carousel--arrows-inside .aigg-carousel__arrow--next { right: var(--aigg-carousel-arrow-offset); }
.aigg-elementor-carousel--arrows-outside .aigg-carousel__arrow--prev { left: calc(var(--aigg-carousel-arrow-offset) * -1); }
.aigg-elementor-carousel--arrows-outside .aigg-carousel__arrow--next { right: calc(var(--aigg-carousel-arrow-offset) * -1); }

@media (max-width: 1024px) {
	.aigg-elementor-carousel .aigg-carousel__arrow {
		display: none;
	}
}

.aigg-carousel__pagination {
	position: relative;
	z-index: 7;
	margin-top: 14px;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: var(--aigg-carousel-dot-size);
	pointer-events: auto;
}

.aigg-elementor-carousel .swiper-pagination-bullet {
	display: inline-block;
	appearance: none;
	-webkit-appearance: none;
	width: var(--aigg-carousel-dot-size);
	height: var(--aigg-carousel-dot-size);
	min-width: var(--aigg-carousel-dot-size);
	min-height: var(--aigg-carousel-dot-size);
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #c0cac4;
	opacity: 1;
	cursor: pointer;
	box-sizing: border-box;
	flex: 0 0 auto;
	pointer-events: auto;
}

.aigg-elementor-carousel .swiper-pagination-bullet-active {
	background: #235640;
}


.aigg-marketplace-card {
	position: relative;
}

.aigg-marketplace-card__title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
	color: #1f2523;
}

.aigg-marketplace-card__description {
	margin: 0;
}

.aigg-marketplace-card__badge {
	--aigg-marketplace-badge-offset-x: 10px;
	--aigg-marketplace-badge-offset-y: 10px;
}

.aigg-marketplace-badge-position-top-left .aigg-marketplace-card__badge {
	top: var(--aigg-marketplace-badge-offset-y);
	left: var(--aigg-marketplace-badge-offset-x);
	right: auto;
	bottom: auto;
}

.aigg-marketplace-badge-position-top-right .aigg-marketplace-card__badge {
	top: var(--aigg-marketplace-badge-offset-y);
	right: var(--aigg-marketplace-badge-offset-x);
	left: auto;
	bottom: auto;
}

.aigg-marketplace-badge-position-bottom-left .aigg-marketplace-card__badge {
	bottom: var(--aigg-marketplace-badge-offset-y);
	left: var(--aigg-marketplace-badge-offset-x);
	top: auto;
	right: auto;
}

.aigg-marketplace-badge-position-bottom-right .aigg-marketplace-card__badge {
	bottom: var(--aigg-marketplace-badge-offset-y);
	right: var(--aigg-marketplace-badge-offset-x);
	top: auto;
	left: auto;
}

.aigg-marketplace-card__badge--none { background: rgba(99, 106, 118, 0.88); color: #fff; }
.aigg-marketplace-card__badge--new { background: #1f8f5f; color: #fff; }
.aigg-marketplace-card__badge--best-seller { background: #c62828; color: #fff; }
.aigg-marketplace-card__badge--limited { background: #f0b429; color: #151515; }
.aigg-marketplace-card__badge--featured { background: #6d3df2; color: #fff; }

.aigg-marketplace-card__price-circle {
	--aigg-marketplace-price-offset-x: 12px;
	--aigg-marketplace-price-offset-y: 12px;
	position: absolute;
	top: var(--aigg-marketplace-price-offset-y);
	right: var(--aigg-marketplace-price-offset-x);
	z-index: 5;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	width: 78px;
	height: 78px;
	padding: 8px;
	border-radius: 999px;
	background: #151d1a;
	color: #ffffff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.1;
	text-align: center;
	box-shadow: 0 12px 24px rgba(15, 21, 19, 0.18);
}
.aigg-marketplace-card__price-value {
	display: block;
	font-weight: 700;
	line-height: 1;
}
.aigg-marketplace-card__price-label {
	display: block;
	max-width: 100%;
	font-size: 10px;
	font-weight: 600;
	line-height: 1.15;
	text-align: center;
	word-break: break-word;
}

.aigg-marketplace-price-position-top-left .aigg-marketplace-card__price-circle {
	top: var(--aigg-marketplace-price-offset-y);
	left: var(--aigg-marketplace-price-offset-x);
	right: auto;
	bottom: auto;
}

.aigg-marketplace-price-position-top-right .aigg-marketplace-card__price-circle {
	top: var(--aigg-marketplace-price-offset-y);
	right: var(--aigg-marketplace-price-offset-x);
	left: auto;
	bottom: auto;
}

.aigg-marketplace-price-position-bottom-left .aigg-marketplace-card__price-circle {
	bottom: var(--aigg-marketplace-price-offset-y);
	left: var(--aigg-marketplace-price-offset-x);
	top: auto;
	right: auto;
}

.aigg-marketplace-price-position-bottom-right .aigg-marketplace-card__price-circle {
	bottom: var(--aigg-marketplace-price-offset-y);
	right: var(--aigg-marketplace-price-offset-x);
	top: auto;
	left: auto;
}

.aigg-marketplace-card__state {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	min-height: 28px;
	padding: 6px 10px;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
}

.aigg-marketplace-card__state--owned {
	background: #e4f6ed;
	color: #146c43;
}

.aigg-marketplace-card__state--buy {
	background: #eef3ff;
	color: #2458d3;
}

.aigg-marketplace-card__state--coming-soon {
	background: #f7efe1;
	color: #8c5b15;
}

.aigg-bundle-marketplace-grid__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.aigg-bundle-marketplace-card {
	position: relative;
	--aigg-bundle-selected-stroke: rgba(44, 132, 255, 0.9);
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.aigg-bundle-marketplace-card.is-selected {
	transform: translateY(-14px);
	box-shadow: 0 20px 40px rgba(17, 28, 24, 0.24);
}

.aigg-bundle-marketplace-card__overlay {
	position: absolute;
	inset: 0;
	z-index: 6;
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: inherit;
	background: transparent !important;
	box-shadow: none !important;
	color: inherit;
	font: inherit;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
}

.aigg-bundle-marketplace-card__overlay:hover,
.aigg-bundle-marketplace-card__overlay:focus,
.aigg-bundle-marketplace-card__overlay:active,
.aigg-bundle-marketplace-card__overlay:focus-visible {
	background: transparent !important;
	box-shadow: none !important;
	outline: none;
}

.aigg-bundle-marketplace-card.is-selected::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	box-shadow: inset 0 0 0 2px var(--aigg-bundle-selected-stroke);
	pointer-events: none;
	z-index: 5;
}

.aigg-bundle-marketplace-card__badge {
	z-index: 7;
}

.aigg-bundle-marketplace-card__title,
.aigg-bundle-marketplace-card__description,
.aigg-bundle-marketplace-card__body {
	position: relative;
	z-index: 4;
}

.aigg-bundle-marketplace-grid:not(.aigg-bundle-marketplace-grid--no-particles) .aigg-bundle-marketplace-card:hover .aigg-elementor-card__particles span,
.aigg-bundle-marketplace-grid:not(.aigg-bundle-marketplace-grid--no-particles) .aigg-bundle-marketplace-card:focus-within .aigg-elementor-card__particles span,
.aigg-bundle-marketplace-grid:not(.aigg-bundle-marketplace-grid--no-particles) .aigg-bundle-marketplace-card.is-selected .aigg-elementor-card__particles span {
	animation: aigg-elementor-particle-rise 820ms ease-out infinite;
}

.aigg-bundle-marketplace-grid:not(.aigg-bundle-marketplace-grid--no-particles) .aigg-bundle-marketplace-card:hover .aigg-elementor-card__particles span:nth-child(2),
.aigg-bundle-marketplace-grid:not(.aigg-bundle-marketplace-grid--no-particles) .aigg-bundle-marketplace-card:focus-within .aigg-elementor-card__particles span:nth-child(2),
.aigg-bundle-marketplace-grid:not(.aigg-bundle-marketplace-grid--no-particles) .aigg-bundle-marketplace-card.is-selected .aigg-elementor-card__particles span:nth-child(2) { animation-delay: 45ms; }
.aigg-bundle-marketplace-grid:not(.aigg-bundle-marketplace-grid--no-particles) .aigg-bundle-marketplace-card:hover .aigg-elementor-card__particles span:nth-child(3),
.aigg-bundle-marketplace-grid:not(.aigg-bundle-marketplace-grid--no-particles) .aigg-bundle-marketplace-card:focus-within .aigg-elementor-card__particles span:nth-child(3),
.aigg-bundle-marketplace-grid:not(.aigg-bundle-marketplace-grid--no-particles) .aigg-bundle-marketplace-card.is-selected .aigg-elementor-card__particles span:nth-child(3) { animation-delay: 90ms; }
.aigg-bundle-marketplace-grid:not(.aigg-bundle-marketplace-grid--no-particles) .aigg-bundle-marketplace-card:hover .aigg-elementor-card__particles span:nth-child(4),
.aigg-bundle-marketplace-grid:not(.aigg-bundle-marketplace-grid--no-particles) .aigg-bundle-marketplace-card:focus-within .aigg-elementor-card__particles span:nth-child(4),
.aigg-bundle-marketplace-grid:not(.aigg-bundle-marketplace-grid--no-particles) .aigg-bundle-marketplace-card.is-selected .aigg-elementor-card__particles span:nth-child(4) { animation-delay: 135ms; }
.aigg-bundle-marketplace-grid:not(.aigg-bundle-marketplace-grid--no-particles) .aigg-bundle-marketplace-card:hover .aigg-elementor-card__particles span:nth-child(5),
.aigg-bundle-marketplace-grid:not(.aigg-bundle-marketplace-grid--no-particles) .aigg-bundle-marketplace-card:focus-within .aigg-elementor-card__particles span:nth-child(5),
.aigg-bundle-marketplace-grid:not(.aigg-bundle-marketplace-grid--no-particles) .aigg-bundle-marketplace-card.is-selected .aigg-elementor-card__particles span:nth-child(5) { animation-delay: 180ms; }
.aigg-bundle-marketplace-grid:not(.aigg-bundle-marketplace-grid--no-particles) .aigg-bundle-marketplace-card:hover .aigg-elementor-card__particles span:nth-child(6),
.aigg-bundle-marketplace-grid:not(.aigg-bundle-marketplace-grid--no-particles) .aigg-bundle-marketplace-card:focus-within .aigg-elementor-card__particles span:nth-child(6),
.aigg-bundle-marketplace-grid:not(.aigg-bundle-marketplace-grid--no-particles) .aigg-bundle-marketplace-card.is-selected .aigg-elementor-card__particles span:nth-child(6) { animation-delay: 225ms; }
.aigg-bundle-marketplace-grid:not(.aigg-bundle-marketplace-grid--no-particles) .aigg-bundle-marketplace-card:hover .aigg-elementor-card__particles span:nth-child(7),
.aigg-bundle-marketplace-grid:not(.aigg-bundle-marketplace-grid--no-particles) .aigg-bundle-marketplace-card:focus-within .aigg-elementor-card__particles span:nth-child(7),
.aigg-bundle-marketplace-grid:not(.aigg-bundle-marketplace-grid--no-particles) .aigg-bundle-marketplace-card.is-selected .aigg-elementor-card__particles span:nth-child(7) { animation-delay: 270ms; }
.aigg-bundle-marketplace-grid:not(.aigg-bundle-marketplace-grid--no-particles) .aigg-bundle-marketplace-card:hover .aigg-elementor-card__particles span:nth-child(8),
.aigg-bundle-marketplace-grid:not(.aigg-bundle-marketplace-grid--no-particles) .aigg-bundle-marketplace-card:focus-within .aigg-elementor-card__particles span:nth-child(8),
.aigg-bundle-marketplace-grid:not(.aigg-bundle-marketplace-grid--no-particles) .aigg-bundle-marketplace-card.is-selected .aigg-elementor-card__particles span:nth-child(8) { animation-delay: 315ms; }

.aigg-bundle-marketplace-card__price-circle {
	--aigg-bundle-marketplace-price-offset-x: 12px;
	--aigg-bundle-marketplace-price-offset-y: 12px;
	position: absolute;
	top: var(--aigg-bundle-marketplace-price-offset-y);
	right: var(--aigg-bundle-marketplace-price-offset-x);
	z-index: 7;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	width: 78px;
	height: 78px;
	padding: 8px;
	border-radius: 999px;
	background: #151d1a;
	color: #ffffff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.1;
	text-align: center;
	box-shadow: 0 12px 24px rgba(15, 21, 19, 0.18);
}

.aigg-bundle-marketplace-card__price-value {
	display: block;
	font-weight: 700;
	line-height: 1;
}

.aigg-bundle-marketplace-card__price-label {
	display: block;
	max-width: 100%;
	font-size: 10px;
	font-weight: 600;
	line-height: 1.15;
	text-align: center;
	word-break: break-word;
}

.aigg-bundle-marketplace-badge-position-top-left .aigg-bundle-marketplace-card__badge,
.aigg-bundle-marketplace-price-position-top-left .aigg-bundle-marketplace-card__price-circle {
	left: var(--aigg-bundle-marketplace-badge-offset-x, var(--aigg-bundle-marketplace-price-offset-x));
	right: auto;
	top: var(--aigg-bundle-marketplace-badge-offset-y, var(--aigg-bundle-marketplace-price-offset-y));
	bottom: auto;
}

.aigg-bundle-marketplace-badge-position-top-right .aigg-bundle-marketplace-card__badge,
.aigg-bundle-marketplace-price-position-top-right .aigg-bundle-marketplace-card__price-circle {
	right: var(--aigg-bundle-marketplace-badge-offset-x, var(--aigg-bundle-marketplace-price-offset-x));
	left: auto;
	top: var(--aigg-bundle-marketplace-badge-offset-y, var(--aigg-bundle-marketplace-price-offset-y));
	bottom: auto;
}

.aigg-bundle-marketplace-badge-position-bottom-left .aigg-bundle-marketplace-card__badge,
.aigg-bundle-marketplace-price-position-bottom-left .aigg-bundle-marketplace-card__price-circle {
	left: var(--aigg-bundle-marketplace-badge-offset-x, var(--aigg-bundle-marketplace-price-offset-x));
	right: auto;
	bottom: var(--aigg-bundle-marketplace-badge-offset-y, var(--aigg-bundle-marketplace-price-offset-y));
	top: auto;
}

.aigg-bundle-marketplace-badge-position-bottom-right .aigg-bundle-marketplace-card__badge,
.aigg-bundle-marketplace-price-position-bottom-right .aigg-bundle-marketplace-card__price-circle {
	right: var(--aigg-bundle-marketplace-badge-offset-x, var(--aigg-bundle-marketplace-price-offset-x));
	left: auto;
	bottom: var(--aigg-bundle-marketplace-badge-offset-y, var(--aigg-bundle-marketplace-price-offset-y));
	top: auto;
}

.aigg-bundle-marketplace-card__badge--none { background: rgba(99, 106, 118, 0.88); color: #fff; }
.aigg-bundle-marketplace-card__badge--new { background: #1f8f5f; color: #fff; }
.aigg-bundle-marketplace-card__badge--best-seller { background: #c62828; color: #fff; }
.aigg-bundle-marketplace-card__badge--limited { background: #f0b429; color: #151515; }
.aigg-bundle-marketplace-card__badge--featured { background: #6d3df2; color: #fff; }


.aigg-elementor-card--fallback .aigg-elementor-card__media {
	flex: 1 1 auto;
}


.aigg-elementor-card__media--ratio-4-5 { aspect-ratio: 4 / 5; }
.aigg-elementor-card__media--ratio-3-4 { aspect-ratio: 3 / 4; }
.aigg-elementor-card__media--ratio-1-1 { aspect-ratio: 1 / 1; }
.aigg-elementor-card__media--ratio-16-9 { aspect-ratio: 16 / 9; }

.aigg-elementor-card__badge--basic { background: #6b7280; color: #ffffff; }
.aigg-elementor-card__badge--pro { background: #2563eb; color: #ffffff; }
.aigg-elementor-card__badge--elite { background: #7c3aed; color: #ffffff; }
.aigg-elementor-card__badge--coming-soon { background: #f59e0b; color: #111827; }
.aigg-elementor-fallback-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}
.aigg-elementor-fallback-cards--ltr {
	direction: ltr;
}
.aigg-elementor-fallback-cards--rtl {
	direction: rtl;
}
.aigg-elementor-card--fallback {
	grid-column: 1 / -1;
	width: 100%;
}
.aigg-elementor-card--fallback-item {
	width: 100%;
	min-width: 0;
}
.aigg-elementor-card--fallback .aigg-elementor-card__media {
	width: 100%;
}

@media (max-width: 767px) {
	.aigg-elementor-fallback-cards {
		grid-template-columns: 1fr;
	}
}

.aigg-custom-character {
	--aigg-custom-bg: #070b12;
	--aigg-custom-panel: rgba(13, 20, 31, 0.92);
	--aigg-custom-border: rgba(255, 255, 255, 0.16);
	--aigg-custom-text: #ffffff;
	--aigg-custom-muted: rgba(255, 255, 255, 0.72);
	--aigg-custom-accent: #d87dff;
	--aigg-custom-controls-divider-color: rgba(255, 255, 255, 0.12);
	--aigg-custom-controls-divider-width: 1px;
	--aigg-custom-controls-divider-style: solid;
	--aigg-custom-controls-divider-gap: 18px;
	width: 100%;
	padding: 20px;
	border-radius: 8px;
	background: var(--aigg-custom-bg);
	color: var(--aigg-custom-text);
	box-sizing: border-box;
}

.aigg-custom-character * {
	box-sizing: border-box;
}

.aigg-custom-character--rtl {
	direction: rtl;
	text-align: right;
}

.aigg-custom-character__top {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
}

.aigg-custom-character__header,
.aigg-custom-character__actions {
	display: flex;
	gap: 16px;
	align-items: center;
}

.aigg-custom-character__header {
	justify-content: space-between;
	margin-bottom: 14px;
}

.aigg-custom-character__brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.aigg-custom-character__logo {
	display: block;
	width: 42px;
	height: 42px;
	max-width: 42px;
	max-height: 42px;
	flex: 0 0 auto;
	object-fit: contain;
}

.aigg-custom-character__title {
	margin: 0;
	color: var(--aigg-custom-text);
	font-size: 30px;
	line-height: 1.2;
}

.aigg-custom-character__button,
.aigg-custom-character__generate,
.aigg-custom-character__approve {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 44px;
	padding: 10px 18px;
	border: 1px solid var(--aigg-custom-border);
	border-radius: 8px;
	cursor: pointer;
	font-weight: 700;
	text-decoration: none;
	transition: transform 180ms ease, opacity 180ms ease, border-color 180ms ease;
}

.aigg-custom-character__button:hover,
.aigg-custom-character__generate:hover,
.aigg-custom-character__approve:hover {
	transform: translateY(-1px);
}

.aigg-custom-character__button:disabled,
.aigg-custom-character__generate:disabled,
.aigg-custom-character__approve:disabled,
.aigg-custom-character .is-busy {
	cursor: wait;
	opacity: 0.65;
	transform: none;
}

.aigg-custom-character__button--primary {
	background: linear-gradient(135deg, #2918d6, #6417f1);
	color: #ffffff;
	border-color: transparent;
}

.aigg-custom-character__button--ghost,
.aigg-custom-character__approve {
	background: transparent;
	color: var(--aigg-custom-text);
	border-color: rgba(216, 125, 255, 0.42);
}

.aigg-custom-character__credits {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 10px 18px;
	border: 1px solid var(--aigg-custom-border);
	border-radius: 999px;
	color: var(--aigg-custom-text);
	font-weight: 700;
}

.aigg-custom-character__credits-prefix {
	color: var(--aigg-custom-muted);
	font-weight: 600;
}

.aigg-custom-character__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	flex: 0 0 auto;
}

.aigg-custom-character__icon img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.aigg-custom-character__workspace {
	display: grid;
	grid-template-columns: minmax(220px, 1fr) minmax(280px, 1.35fr) minmax(220px, 1fr);
	gap: 12px;
}

.aigg-custom-character__side {
	display: grid;
	gap: 12px;
}

.aigg-custom-character__reference-card,
.aigg-custom-character__preview,
.aigg-custom-character__controls {
	border: 1px solid var(--aigg-custom-border);
	border-radius: 8px;
	background: var(--aigg-custom-panel);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.aigg-custom-character__reference-card {
	display: grid;
	grid-template-columns: minmax(120px, 0.86fr) minmax(140px, 1fr);
	gap: 14px;
	align-items: center;
	padding: 14px;
	min-height: 160px;
}

.aigg-custom-character__reference-copy {
	min-width: 0;
}

.aigg-custom-character__reference-heading {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0 0 10px;
}

.aigg-custom-character__reference-heading h3 {
	margin: 0;
}

.aigg-custom-character__admin-slot-toggle {
	position: relative;
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	margin-top: 2px;
	cursor: pointer;
}

.aigg-custom-character .aigg-custom-character__admin-slot-toggle input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.aigg-custom-character__admin-slot-toggle span {
	position: relative;
	display: block;
	width: 18px;
	height: 18px;
	border: 1px solid rgba(216, 125, 255, 0.76);
	border-radius: 5px;
	background: rgba(0, 0, 0, 0.24);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.aigg-custom-character__admin-slot-toggle input:checked + span {
	border-color: rgba(255, 255, 255, 0.92);
	background: linear-gradient(135deg, #2718d3, #6417f1);
}

.aigg-custom-character__admin-slot-toggle input:checked + span::after {
	content: "";
	position: absolute;
	left: 7px;
	top: 4px;
	width: 5px;
	height: 10px;
	border: solid #ffffff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.aigg-custom-character h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 10px;
	color: var(--aigg-custom-accent);
	font-size: 18px;
	line-height: 1.25;
}

.aigg-custom-character p {
	margin: 0;
	color: var(--aigg-custom-muted);
	line-height: 1.55;
}

.aigg-custom-character__reference-media,
.aigg-custom-character__preview-media {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.08);
}

.aigg-custom-character__reference-media {
	aspect-ratio: 1 / 1;
}

.aigg-custom-character__preview {
	display: flex;
	flex-direction: column;
	padding: 20px;
	min-height: 100%;
}

.aigg-custom-character__preview-media {
	aspect-ratio: 4 / 5;
	flex: 1;
	min-height: 360px;
}

.aigg-custom-character__reference-media img,
.aigg-custom-character__preview-media img {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	cursor: zoom-in;
}

.aigg-custom-character__slot-particles {
	position: absolute;
	inset: 0;
	z-index: 3;
	pointer-events: none;
	overflow: hidden;
}

.aigg-custom-character__slot-particles span {
	position: absolute;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 0 16px rgba(255, 255, 255, 0.95);
	opacity: 0;
	transform: translate3d(0, 0, 0) scale(0.6);
}

.aigg-custom-character__slot-particles span:nth-child(1) { left: 18%; top: 42%; --aigg-custom-particle-x: -18px; }
.aigg-custom-character__slot-particles span:nth-child(2) { left: 28%; top: 68%; width: 5px; height: 5px; background: #7bdcb5; --aigg-custom-particle-x: 14px; }
.aigg-custom-character__slot-particles span:nth-child(3) { left: 48%; top: 36%; width: 6px; height: 6px; background: #f4d35e; --aigg-custom-particle-x: -8px; }
.aigg-custom-character__slot-particles span:nth-child(4) { left: 68%; top: 56%; width: 8px; height: 8px; background: #8ecae6; --aigg-custom-particle-x: 18px; }
.aigg-custom-character__slot-particles span:nth-child(5) { left: 78%; top: 32%; width: 4px; height: 4px; background: #d87dff; --aigg-custom-particle-x: -14px; }
.aigg-custom-character__slot-particles span:nth-child(6) { left: 38%; top: 78%; width: 5px; height: 5px; background: #ffaf87; --aigg-custom-particle-x: 10px; }
.aigg-custom-character__slot-particles span:nth-child(7) { left: 84%; top: 72%; width: 6px; height: 6px; background: #7bdcb5; --aigg-custom-particle-x: -22px; }
.aigg-custom-character__slot-particles span:nth-child(8) { left: 12%; top: 24%; width: 4px; height: 4px; background: #8ecae6; --aigg-custom-particle-x: 20px; }

.aigg-custom-character__reference-media.is-generating,
.aigg-custom-character__preview-media.is-generating {
	box-shadow: inset 0 0 0 1px rgba(216, 125, 255, 0.55), 0 0 28px rgba(113, 35, 255, 0.24);
}

.aigg-custom-character__reference-media.is-retryable,
.aigg-custom-character__preview-media.is-retryable {
	box-shadow: inset 0 0 0 1px rgba(255, 190, 80, 0.72), 0 0 24px rgba(255, 190, 80, 0.22);
}

.aigg-custom-character__slot-retry {
	position: absolute;
	top: 10px;
	left: 50%;
	z-index: 5;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 34px;
	padding: 7px 12px;
	border: 1px solid rgba(255, 190, 80, 0.78);
	border-radius: 8px;
	background: rgba(7, 12, 22, 0.88);
	color: #ffffff;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
	transform: translateX(-50%);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.32);
	backdrop-filter: blur(8px);
}

.aigg-custom-character__slot-retry:hover,
.aigg-custom-character__slot-retry:focus-visible {
	background: rgba(255, 190, 80, 0.24);
	outline: none;
}

.aigg-custom-character__slot-retry img {
	display: block;
	width: 17px;
	height: 17px;
	object-fit: contain;
}

.aigg-custom-character__slot-3d-status {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 5;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 28px;
	padding: 6px 10px;
	border-radius: 8px;
	background: rgba(12, 18, 30, 0.88);
	color: #ffffff;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
	box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
	backdrop-filter: blur(8px);
}

.aigg-custom-character__slot-3d-status.is-pending {
	border: 1px solid rgba(255, 190, 80, 0.72);
	color: #ffd88a;
}

.aigg-custom-character__slot-3d-status.is-processing {
	border: 1px solid rgba(168, 98, 255, 0.72);
	color: #d8a4ff;
}

.aigg-custom-character__slot-3d-status.is-completed {
	border: 1px solid rgba(123, 220, 181, 0.76);
	color: #a7ffd4;
}

.aigg-custom-character__slot-3d-status.is-failed {
	border: 1px solid rgba(255, 110, 110, 0.78);
	color: #ffaaaa;
}

.aigg-custom-character__slot-download {
	position: absolute;
	right: 10px;
	bottom: 10px;
	left: 10px;
	z-index: 5;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 8px 14px;
	border: 1px solid rgba(123, 220, 181, 0.78);
	border-radius: 8px;
	background: rgba(7, 12, 22, 0.9);
	color: #ffffff;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	box-shadow: 0 14px 26px rgba(0, 0, 0, 0.34);
	backdrop-filter: blur(8px);
}

.aigg-custom-character__slot-download:hover,
.aigg-custom-character__slot-download:focus-visible {
	background: rgba(123, 220, 181, 0.22);
	color: #ffffff;
	outline: none;
}

.aigg-custom-character__reference-media.has-3d-download,
.aigg-custom-character__preview-media.has-3d-download {
	box-shadow: inset 0 0 0 1px rgba(123, 220, 181, 0.55), 0 0 28px rgba(123, 220, 181, 0.18);
}

.aigg-custom-character__reference-media.is-3d-failed,
.aigg-custom-character__preview-media.is-3d-failed {
	box-shadow: inset 0 0 0 1px rgba(255, 110, 110, 0.58), 0 0 28px rgba(255, 110, 110, 0.18);
}

.aigg-custom-character__reference-media.is-generating .aigg-custom-character__slot-particles span,
.aigg-custom-character__preview-media.is-generating .aigg-custom-character__slot-particles span {
	animation: aigg-custom-character-particle-loop 980ms ease-out infinite;
}

.aigg-custom-character__reference-media.is-generating .aigg-custom-character__slot-particles span:nth-child(2),
.aigg-custom-character__preview-media.is-generating .aigg-custom-character__slot-particles span:nth-child(2) { animation-delay: 45ms; }
.aigg-custom-character__reference-media.is-generating .aigg-custom-character__slot-particles span:nth-child(3),
.aigg-custom-character__preview-media.is-generating .aigg-custom-character__slot-particles span:nth-child(3) { animation-delay: 90ms; }
.aigg-custom-character__reference-media.is-generating .aigg-custom-character__slot-particles span:nth-child(4),
.aigg-custom-character__preview-media.is-generating .aigg-custom-character__slot-particles span:nth-child(4) { animation-delay: 135ms; }
.aigg-custom-character__reference-media.is-generating .aigg-custom-character__slot-particles span:nth-child(5),
.aigg-custom-character__preview-media.is-generating .aigg-custom-character__slot-particles span:nth-child(5) { animation-delay: 180ms; }
.aigg-custom-character__reference-media.is-generating .aigg-custom-character__slot-particles span:nth-child(6),
.aigg-custom-character__preview-media.is-generating .aigg-custom-character__slot-particles span:nth-child(6) { animation-delay: 225ms; }
.aigg-custom-character__reference-media.is-generating .aigg-custom-character__slot-particles span:nth-child(7),
.aigg-custom-character__preview-media.is-generating .aigg-custom-character__slot-particles span:nth-child(7) { animation-delay: 270ms; }
.aigg-custom-character__reference-media.is-generating .aigg-custom-character__slot-particles span:nth-child(8),
.aigg-custom-character__preview-media.is-generating .aigg-custom-character__slot-particles span:nth-child(8) { animation-delay: 315ms; }

@keyframes aigg-custom-character-particle-loop {
	0% { opacity: 0; transform: translate3d(0, 12px, 0) scale(0.45); }
	26% { opacity: 0.95; }
	100% { opacity: 0; transform: translate3d(var(--aigg-custom-particle-x, 10px), -44px, 0) scale(1.25); }
}

.aigg-custom-character__image-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 18px;
	color: var(--aigg-custom-muted);
	text-align: center;
}

.aigg-custom-character__approve {
	width: 100%;
	margin-top: 14px;
	color: var(--aigg-custom-accent);
	font-size: 18px;
}

.aigg-custom-character__approve .aigg-custom-character__icon {
	width: 26px;
	height: 26px;
}

.aigg-custom-character__approve small {
	font-size: 12px;
	font-weight: 700;
	opacity: 0.82;
}

.aigg-custom-character__approve-note {
	margin-top: 8px !important;
	text-align: center;
	font-size: 13px;
}

.aigg-custom-character__controls {
	position: sticky;
	bottom: 0;
	z-index: 4;
	display: grid;
	grid-template-columns: minmax(220px, 1fr) minmax(180px, 0.65fr) minmax(180px, 0.65fr) minmax(220px, 1fr);
	gap: 0;
	width: 100%;
	max-width: 100%;
	margin: 12px auto 0;
	padding: 16px;
	align-items: stretch;
	backdrop-filter: blur(10px);
}

.aigg-custom-character__prompt,
.aigg-custom-character__advanced,
.aigg-custom-character__settings,
.aigg-custom-character__generate-wrap {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 20px;
}

.aigg-custom-character__controls > * + * {
	position: relative;
}

.aigg-custom-character__controls > * + *::before {
	content: "";
	position: absolute;
	inset-block: var(--aigg-custom-controls-divider-gap);
	inset-inline-start: 0;
	border-inline-start: var(--aigg-custom-controls-divider-width) var(--aigg-custom-controls-divider-style) var(--aigg-custom-controls-divider-color);
}

.aigg-custom-character textarea,
.aigg-custom-character input {
	width: 100%;
	margin-top: 8px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.06);
	color: #ffffff;
}

.aigg-custom-character textarea {
	min-height: 100px;
	padding: 14px;
	resize: vertical;
}

.aigg-custom-character__prompt textarea {
	flex: 1;
}

.aigg-custom-character__prompt p {
	margin-top: 12px;
}

.aigg-custom-character__admin-instructions {
	display: grid;
	gap: 8px;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.aigg-custom-character__admin-instructions h4 {
	margin: 0;
	color: var(--aigg-custom-accent);
	font-size: 14px;
	line-height: 1.35;
}

.aigg-custom-character__admin-instructions-list {
	display: grid;
	gap: 8px;
	max-height: 136px;
	overflow: auto;
	padding-inline-end: 4px;
}

.aigg-custom-character__admin-instructions-empty {
	margin: 0 !important;
	color: var(--aigg-custom-muted);
	font-size: 12px;
}

.aigg-custom-character__admin-instructions-item {
	display: grid;
	gap: 4px;
	padding: 9px 10px;
	border: 1px solid rgba(216, 125, 255, 0.24);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.04);
}

.aigg-custom-character__admin-instructions-item strong {
	color: #ffffff;
	font-size: 12px;
	line-height: 1.3;
}

.aigg-custom-character__admin-instructions-item p {
	margin: 0 !important;
	color: var(--aigg-custom-muted);
	font-size: 11px;
	line-height: 1.45;
}

.aigg-custom-character__advanced,
.aigg-custom-character__settings {
	text-align: center;
}

.aigg-custom-character__advanced h3,
.aigg-custom-character__settings h3 {
	justify-content: center;
}

.aigg-custom-character__advanced .aigg-custom-character__button {
	width: 100%;
	margin: auto 0;
}

.aigg-custom-character__settings ul {
	display: grid;
	gap: 8px;
	margin: auto 0;
	padding: 0;
	list-style: none;
}

.aigg-custom-character__settings li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 14px;
	color: var(--aigg-custom-muted);
}

.aigg-custom-character__settings-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.aigg-custom-character__settings-label .aigg-custom-character__icon {
	width: 18px;
	height: 18px;
}

.aigg-custom-character__settings strong {
	color: #ffffff;
}

.aigg-custom-character__generate-wrap {
	justify-content: center;
	text-align: center;
}

.aigg-custom-character__generate-wrap p {
	margin-top: 12px;
}

.aigg-custom-character__generate-3d {
	width: 100%;
	margin-top: 12px;
	min-height: 44px;
}

.aigg-custom-character__generate-3d:disabled {
	opacity: 0.46;
	cursor: not-allowed;
}

.aigg-custom-character__generate {
	width: 100%;
	min-height: 82px;
	border: 0;
	background: linear-gradient(135deg, #2718d3, #6417f1);
	color: #ffffff;
	font-size: 24px;
}

.aigg-custom-character__generate .aigg-custom-character__icon {
	width: 40px;
	height: 40px;
}

.aigg-custom-character__message {
	width: 100%;
	max-width: 100%;
	margin: 12px auto 0;
	padding: 12px 14px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.08);
	color: var(--aigg-custom-text);
}

.aigg-custom-character__message[data-type="success"] {
	background: rgba(22, 163, 74, 0.18);
}

.aigg-custom-character__message[data-type="error"] {
	background: rgba(220, 38, 38, 0.18);
}

.aigg-custom-character__modal[hidden] {
	display: none;
}

.aigg-custom-character__modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.aigg-custom-character__modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	backdrop-filter: blur(5px);
}

.aigg-custom-character__modal-panel {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 14px;
	width: min(520px, 100%);
	padding: 24px;
	border: 1px solid var(--aigg-custom-border);
	border-radius: 8px;
	background: #0b111c;
	color: #ffffff;
}

.aigg-custom-character__modal-panel--advanced {
	gap: 14px;
	width: min(1120px, calc(100vw - 32px));
	max-height: calc(100vh - 24px);
	padding: 20px 24px;
	overflow-y: auto;
	overflow-x: hidden;
}

.aigg-custom-character__advanced-header h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 42px 4px 0;
	color: var(--aigg-custom-accent);
}

.aigg-custom-character--rtl .aigg-custom-character__advanced-header h3 {
	margin: 0 0 4px 42px;
}

.aigg-custom-character__advanced-header p,
.aigg-custom-character__reference-section p,
.aigg-custom-character__reference-option p {
	margin: 0;
	color: var(--aigg-custom-muted);
}

.aigg-custom-character__reference-section {
	display: grid;
	gap: 10px;
	padding-top: 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.aigg-custom-character__reference-section h4,
.aigg-custom-character__reference-option h5 {
	margin: 0;
	color: var(--aigg-custom-accent);
}

.aigg-custom-character__reference-options {
	display: grid;
	grid-template-columns: minmax(500px, 1.16fr) auto minmax(340px, 0.84fr);
	gap: 24px;
	align-items: stretch;
}

.aigg-custom-character__reference-option {
	display: grid;
	align-content: start;
	gap: 8px;
	padding: 16px;
	border: 1px solid var(--aigg-custom-border);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.025);
}

.aigg-custom-character__reference-option--single {
	display: flex;
	flex-direction: column;
	align-content: stretch;
}

.aigg-custom-character__reference-option--single .aigg-custom-character__dropzone {
	flex: 0 0 340px;
	height: 340px;
	min-height: 340px;
	max-height: 340px;
	padding: 12px;
	box-sizing: border-box;
	overflow: hidden;
}

.aigg-custom-character__reference-pair {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.aigg-custom-character__reference-upload,
.aigg-custom-character__dropzone {
	position: relative;
	display: grid;
	gap: 8px;
	padding: 10px;
	border: 1px dashed rgba(216, 125, 255, 0.34);
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.18);
	cursor: pointer;
	transition: border-color 160ms ease, background 160ms ease;
}

.aigg-custom-character__reference-upload:hover,
.aigg-custom-character__reference-upload.is-dragging,
.aigg-custom-character__dropzone:hover,
.aigg-custom-character__dropzone.is-dragging {
	border-color: rgba(216, 125, 255, 0.82);
	background: rgba(216, 125, 255, 0.08);
}

.aigg-custom-character__reference-upload input,
.aigg-custom-character__dropzone input {
	position: absolute;
	inline-size: 1px;
	block-size: 1px;
	opacity: 0;
	pointer-events: none;
}

.aigg-custom-character__reference-upload-label {
	color: #ffffff;
	font-weight: 700;
}

.aigg-custom-character__reference-upload-preview,
.aigg-custom-character__dropzone-preview {
	display: grid;
	place-items: center;
	overflow: hidden;
	border-radius: 8px;
	background: #ffffff;
}

.aigg-custom-character__reference-upload-preview {
	aspect-ratio: 1 / 1;
	box-sizing: border-box;
}

.aigg-custom-character__reference-upload-preview img,
.aigg-custom-character__dropzone-preview img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.aigg-custom-character__reference-upload-preview img {
	object-fit: contain;
	object-position: center;
}

.aigg-custom-character__reference-upload-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 40px;
	border: 1px solid rgba(216, 125, 255, 0.35);
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.22);
	color: #ffffff;
	font-weight: 700;
	cursor: pointer;
}

.aigg-custom-character__dropzone {
	place-items: center;
	min-height: 340px;
	text-align: center;
}

.aigg-custom-character__dropzone-preview {
	width: 64px;
	height: 64px;
	border: 0;
	background: transparent;
	color: var(--aigg-custom-accent);
	overflow: visible;
}

.aigg-custom-character__dropzone.has-image {
	grid-template-rows: 1fr;
	place-items: stretch;
	align-content: stretch;
	padding: 10px;
}

.aigg-custom-character__reference-option--single .aigg-custom-character__dropzone.has-image {
	display: grid;
	height: 340px;
	min-height: 340px;
	max-height: 340px;
	padding: 10px;
}

.aigg-custom-character__dropzone.has-image strong,
.aigg-custom-character__dropzone.has-image em,
.aigg-custom-character__dropzone.has-image small {
	display: none;
}

.aigg-custom-character__dropzone-preview.has-image {
	align-self: stretch;
	justify-self: stretch;
	width: 100%;
	height: 100%;
	min-height: 300px;
	border-radius: 8px;
	background: transparent;
	overflow: hidden;
}

.aigg-custom-character__reference-option--single .aigg-custom-character__dropzone-preview.has-image {
	height: 100%;
	min-height: 0;
	max-height: 320px;
}

.aigg-custom-character__dropzone-preview.has-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.aigg-custom-character__dropzone-preview .aigg-custom-character__icon {
	width: 44px;
	height: 54px;
	overflow: visible;
}

.aigg-custom-character__dropzone-preview .aigg-custom-character__icon img {
	overflow: visible;
	object-fit: contain;
}

.aigg-custom-character__dropzone strong,
.aigg-custom-character__dropzone em {
	color: #ffffff;
	font-style: normal;
}

.aigg-custom-character__dropzone small {
	color: var(--aigg-custom-muted);
}

.aigg-custom-character__reference-or {
	align-self: center;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 1px solid rgba(216, 125, 255, 0.38);
	border-radius: 50%;
	background: rgba(113, 35, 255, 0.42);
	color: #ffffff;
	font-weight: 800;
}

.aigg-custom-character__modal-settings {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.aigg-custom-character__modal-panel label {
	display: block;
	font-weight: 700;
}

.aigg-custom-character__modal-panel select {
	display: block;
	width: 100%;
	margin-top: 8px;
	padding: 9px 12px;
	border: 1px solid var(--aigg-custom-border);
	border-radius: 8px;
	background: #111827;
	color: #ffffff;
}

.aigg-custom-character__modal-close {
	position: absolute;
	top: 10px;
	right: 12px;
	z-index: 3;
	border: 0;
	background: transparent;
	color: #ffffff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.aigg-custom-character--rtl .aigg-custom-character__modal-close {
	right: auto;
	left: 12px;
}

.aigg-custom-character-modal-open {
	overflow: hidden;
}

.aigg-custom-character__history-modal[hidden],
.aigg-custom-character__lightbox[hidden] {
	display: none;
}

.aigg-custom-character__history-modal,
.aigg-custom-character__lightbox {
	position: fixed;
	inset: 0;
	z-index: 100001;
	display: flex;
	align-items: stretch;
	justify-content: stretch;
}

.aigg-custom-character__history-backdrop,
.aigg-custom-character__lightbox-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.72);
	backdrop-filter: blur(7px);
}

.aigg-custom-character__history-panel {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	padding: 28px;
	overflow: auto;
	border: 1px solid rgba(216, 125, 255, 0.24);
	background: #070b12;
	color: #ffffff;
}

.aigg-custom-character__history-header {
	position: sticky;
	top: -28px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: -28px -28px 24px;
	padding: 24px 56px 18px 28px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(7, 11, 18, 0.92);
	backdrop-filter: blur(10px);
}

.aigg-custom-character--rtl .aigg-custom-character__history-header {
	padding: 24px 28px 18px 56px;
}

.aigg-custom-character__history-header h3 {
	margin: 0;
}

.aigg-custom-character__history-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 18px;
	width: 100%;
}

.aigg-custom-character__history-card {
	display: block;
	width: 100%;
	padding: 0;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.05);
	cursor: pointer;
	transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.aigg-custom-character__history-card:hover,
.aigg-custom-character__history-card:focus-visible {
	transform: translateY(-2px);
	border-color: rgba(216, 125, 255, 0.72);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
	outline: none;
}

.aigg-custom-character__history-card img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.aigg-custom-character__history-status {
	margin: 22px auto 0;
	color: var(--aigg-custom-muted);
	text-align: center;
}

.aigg-custom-character__history-status[hidden] {
	display: none;
}

.aigg-custom-character__lightbox {
	align-items: center;
	justify-content: center;
	padding: 28px;
}

.aigg-custom-character__lightbox img {
	position: relative;
	z-index: 1;
	display: block;
	max-width: min(96vw, 1400px);
	max-height: 92vh;
	border-radius: 8px;
	object-fit: contain;
	box-shadow: 0 28px 90px rgba(0, 0, 0, 0.58);
}

.aigg-custom-character__lightbox .aigg-custom-character__modal-close {
	top: 18px;
	right: 22px;
}

.aigg-custom-character--rtl .aigg-custom-character__lightbox .aigg-custom-character__modal-close {
	right: auto;
	left: 22px;
}

@media (max-width: 1024px) {
	.aigg-custom-character__header,
	.aigg-custom-character__actions {
		align-items: flex-start;
		flex-direction: column;
	}

	.aigg-custom-character__workspace,
	.aigg-custom-character__controls {
		grid-template-columns: 1fr;
	}

	.aigg-custom-character__controls {
		position: static;
	}

	.aigg-custom-character__controls > * + * {
		position: relative;
	}

	.aigg-custom-character__controls > * + *::before {
		inset-block: 0 auto;
		inset-inline: var(--aigg-custom-controls-divider-gap);
		border-inline-start: 0;
		border-top: var(--aigg-custom-controls-divider-width) var(--aigg-custom-controls-divider-style) var(--aigg-custom-controls-divider-color);
	}

	.aigg-custom-character__preview-media {
		min-height: 360px;
	}

	.aigg-custom-character__history-panel {
		padding: 22px;
	}

	.aigg-custom-character__history-header {
		top: -22px;
		margin: -22px -22px 20px;
		padding-inline: 22px 56px;
	}

	.aigg-custom-character__reference-options,
	.aigg-custom-character__modal-settings {
		grid-template-columns: 1fr;
	}

	.aigg-custom-character__dropzone {
		min-height: 260px;
	}

	.aigg-custom-character__reference-option--single .aigg-custom-character__dropzone,
	.aigg-custom-character__reference-option--single .aigg-custom-character__dropzone.has-image {
		flex-basis: 260px;
		height: 260px;
		min-height: 260px;
		max-height: 260px;
	}

	.aigg-custom-character__reference-option--single .aigg-custom-character__dropzone-preview.has-image {
		max-height: 240px;
	}

	.aigg-custom-character__reference-or {
		justify-self: center;
	}
}

@media (max-width: 640px) {
	.aigg-custom-character {
		padding: 12px;
	}

	.aigg-custom-character__reference-card {
		grid-template-columns: 1fr;
	}

	.aigg-custom-character__title {
		font-size: 24px;
	}

	.aigg-custom-character__logo {
		width: 34px;
		height: 34px;
		max-width: 34px;
		max-height: 34px;
	}

	.aigg-custom-character__generate {
		font-size: 20px;
	}

	.aigg-custom-character__history-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.aigg-custom-character__lightbox {
		padding: 14px;
	}
}
