.aitvgf-generator {
	--aitvgf-ink: #18212a;
	--aitvgf-muted: #5f6f7a;
	--aitvgf-line: #d9e1e5;
	--aitvgf-panel: #ffffff;
	--aitvgf-soft: #eef6f3;
	--aitvgf-accent: #0d6e6e;
	--aitvgf-accent-dark: #084c61;
	--aitvgf-warn-bg: #fff5d8;
	--aitvgf-warn-border: #e7b645;
	color: var(--aitvgf-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	margin: 20px 0;
	max-width: 1180px;
}

.aitvgf-standalone-body {
	background: #edf3f4;
	margin: 0;
}

.aitvgf-standalone-app {
	margin: 0 auto;
	min-height: 100vh;
	padding: 18px;
}

.aitvgf-standalone-app .aitvgf-generator {
	margin-left: auto;
	margin-right: auto;
}

.aitvgf-app-topbar {
	align-items: center;
	background: #ffffff;
	border: 1px solid #d9e1e5;
	border-radius: 8px;
	box-shadow: 0 10px 28px rgba(24, 33, 42, 0.08);
	display: flex;
	justify-content: space-between;
	margin: 0 auto 16px;
	max-width: 1180px;
	padding: 13px 16px;
}

.aitvgf-app-topbar div {
	display: grid;
	gap: 3px;
}

.aitvgf-app-topbar strong {
	color: #18212a;
	font-size: 16px;
}

.aitvgf-app-topbar span {
	color: #5f6f7a;
	font-size: 13px;
}

.aitvgf-logout-link {
	background: #e8eef0;
	border-radius: 6px;
	color: #18212a;
	font-size: 13px;
	font-weight: 800;
	padding: 9px 12px;
	text-decoration: none;
}

.aitvgf-login-screen {
	align-items: center;
	background:
		linear-gradient(115deg, rgba(9, 18, 30, 0.96) 0%, rgba(13, 34, 44, 0.92) 47%, rgba(53, 25, 45, 0.94) 100%),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 82px),
		repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 82px);
	box-sizing: border-box;
	display: flex;
	justify-content: center;
	min-height: calc(100vh - 36px);
	overflow: hidden;
	padding: clamp(18px, 4vw, 48px);
	position: relative;
}

.aitvgf-login-screen::before,
.aitvgf-login-screen::after {
	content: "";
	pointer-events: none;
	position: absolute;
}

.aitvgf-login-screen::before {
	background: linear-gradient(120deg, transparent 0%, rgba(255, 212, 122, 0.18) 45%, transparent 70%);
	height: 140%;
	left: 10%;
	top: -20%;
	transform: rotate(-13deg);
	width: 24%;
}

.aitvgf-login-screen::after {
	background:
		linear-gradient(90deg, rgba(30, 207, 178, 0.18), transparent 42%),
		linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.1), transparent);
	bottom: 10%;
	height: 1px;
	left: 6%;
	right: 6%;
}

.aitvgf-login-shell {
	align-items: center;
	display: grid;
	gap: clamp(18px, 4vw, 46px);
	grid-template-columns: minmax(320px, 1.12fr) minmax(340px, 440px);
	margin: 0 auto;
	max-width: 1160px;
	position: relative;
	width: 100%;
	z-index: 1;
}

.aitvgf-login-visual {
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
		linear-gradient(35deg, rgba(12, 27, 40, 0.88), rgba(30, 77, 80, 0.34));
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 8px;
	box-shadow: 0 34px 90px rgba(0, 0, 0, 0.36);
	min-height: 560px;
	overflow: hidden;
	position: relative;
	transform-style: preserve-3d;
}

.aitvgf-login-visual::before {
	background:
		linear-gradient(90deg, transparent 0 48%, rgba(255, 255, 255, 0.13) 50%, transparent 52%),
		linear-gradient(0deg, transparent 0 48%, rgba(255, 255, 255, 0.08) 50%, transparent 52%);
	background-size: 54px 54px;
	content: "";
	inset: 0;
	opacity: 0.34;
	position: absolute;
	transform: perspective(900px) rotateX(58deg) translateY(78px) scale(1.45);
	transform-origin: bottom center;
}

.aitvgf-login-visual::after {
	background:
		linear-gradient(90deg, transparent, rgba(46, 230, 205, 0.24), transparent),
		linear-gradient(90deg, transparent, rgba(244, 196, 99, 0.16), transparent);
	content: "";
	height: 2px;
	left: -12%;
	position: absolute;
	right: -12%;
	top: 28%;
	transform: rotate(-8deg);
}

.aitvgf-login-stage {
	inset: 0;
	perspective: 1100px;
	position: absolute;
	transform-style: preserve-3d;
}

.aitvgf-kinetic-object {
	height: 360px;
	left: 50%;
	position: absolute;
	top: 46%;
	transform: translate3d(-50%, -50%, 0) rotateX(58deg) rotateZ(-8deg);
	transform-style: preserve-3d;
	width: 360px;
}

.aitvgf-cube {
	height: 154px;
	left: 50%;
	margin: -77px 0 0 -77px;
	position: absolute;
	top: 50%;
	transform-style: preserve-3d;
	width: 154px;
	animation: aitvgf-cube-spin 14s linear infinite;
}

.aitvgf-cube-face {
	background:
		linear-gradient(135deg, rgba(46, 230, 205, 0.28), rgba(255, 255, 255, 0.08)),
		linear-gradient(45deg, rgba(244, 196, 99, 0.18), transparent);
	border: 1px solid rgba(255, 255, 255, 0.34);
	box-shadow: inset 0 0 34px rgba(255, 255, 255, 0.08), 0 0 24px rgba(46, 230, 205, 0.14);
	height: 154px;
	position: absolute;
	width: 154px;
}

.aitvgf-cube-front {
	transform: translateZ(77px);
}

.aitvgf-cube-back {
	transform: rotateY(180deg) translateZ(77px);
}

.aitvgf-cube-right {
	transform: rotateY(90deg) translateZ(77px);
}

.aitvgf-cube-left {
	transform: rotateY(-90deg) translateZ(77px);
}

.aitvgf-cube-top {
	transform: rotateX(90deg) translateZ(77px);
}

.aitvgf-cube-bottom {
	transform: rotateX(-90deg) translateZ(77px);
}

.aitvgf-ring {
	border: 2px solid rgba(46, 230, 205, 0.3);
	border-radius: 50%;
	box-shadow: 0 0 28px rgba(46, 230, 205, 0.16);
	inset: 38px;
	position: absolute;
	transform-style: preserve-3d;
}

.aitvgf-ring-one {
	animation: aitvgf-ring-turn-one 9s linear infinite;
	border-color: rgba(46, 230, 205, 0.42);
}

.aitvgf-ring-two {
	animation: aitvgf-ring-turn-two 12s linear infinite;
	border-color: rgba(244, 196, 99, 0.36);
	inset: 12px;
}

.aitvgf-ring-three {
	animation: aitvgf-ring-turn-three 16s linear infinite;
	border-color: rgba(225, 93, 168, 0.34);
	inset: 72px;
}

.aitvgf-floating-panel {
	background: rgba(9, 21, 32, 0.74);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 8px;
	box-shadow: 0 20px 46px rgba(0, 0, 0, 0.24);
	display: grid;
	gap: 8px;
	padding: 13px;
	position: absolute;
	transform-style: preserve-3d;
	width: 138px;
}

.aitvgf-floating-panel span {
	background: linear-gradient(90deg, rgba(46, 230, 205, 0.9), rgba(255, 255, 255, 0.2));
	border-radius: 999px;
	display: block;
	height: 7px;
}

.aitvgf-floating-panel span:nth-child(2) {
	background: linear-gradient(90deg, rgba(244, 196, 99, 0.85), rgba(255, 255, 255, 0.18));
	width: 74%;
}

.aitvgf-floating-panel span:nth-child(3) {
	background: linear-gradient(90deg, rgba(225, 93, 168, 0.82), rgba(255, 255, 255, 0.16));
	width: 54%;
}

.aitvgf-floating-panel-one {
	animation: aitvgf-panel-float-one 6.4s ease-in-out infinite;
	left: -18px;
	top: 34px;
	transform: translateZ(120px) rotateZ(-8deg);
}

.aitvgf-floating-panel-two {
	animation: aitvgf-panel-float-two 7.2s ease-in-out infinite;
	right: -34px;
	top: 128px;
	transform: translateZ(150px) rotateZ(9deg);
	width: 118px;
}

.aitvgf-floating-panel-three {
	animation: aitvgf-panel-float-three 8s ease-in-out infinite;
	bottom: 28px;
	left: 92px;
	transform: translateZ(90px) rotateZ(5deg);
	width: 152px;
}

.aitvgf-login-caption {
	background: rgba(4, 12, 20, 0.58);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 8px;
	bottom: 24px;
	color: rgba(255, 255, 255, 0.74);
	display: grid;
	font-size: 13px;
	gap: 4px;
	left: 24px;
	padding: 13px 15px;
	position: absolute;
	right: 24px;
}

.aitvgf-login-caption strong {
	color: #ffffff;
	font-size: 18px;
}

.aitvgf-login-card {
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid rgba(255, 255, 255, 0.48);
	border-radius: 8px;
	box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.86);
	box-sizing: border-box;
	max-width: 440px;
	padding: clamp(24px, 4vw, 38px);
	position: relative;
	transform: perspective(900px) rotateY(-2deg);
	width: 100%;
}

.aitvgf-login-card::before {
	background: linear-gradient(90deg, #26d8c3, #f4c463, #d96ca9);
	border-radius: 8px 8px 0 0;
	content: "";
	height: 4px;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

.aitvgf-login-brand {
	align-items: center;
	color: #28323d;
	display: flex;
	font-size: 13px;
	font-weight: 800;
	gap: 10px;
	margin-bottom: 20px;
}

.aitvgf-login-mark {
	align-items: center;
	background: linear-gradient(135deg, #10202d, #0d6e6e);
	border-radius: 7px;
	box-shadow: 0 12px 28px rgba(13, 110, 110, 0.24);
	color: #ffffff;
	display: inline-flex;
	font-size: 13px;
	font-weight: 900;
	height: 36px;
	justify-content: center;
	width: 36px;
}

.aitvgf-login-card h1 {
	color: #101820;
	font-size: clamp(30px, 4vw, 42px);
	line-height: 1.02;
	margin: 0 0 13px;
}

.aitvgf-login-card p {
	color: #60707c;
	font-size: 15px;
	line-height: 1.5;
	margin: 0 0 24px;
}

.aitvgf-login-form {
	display: grid;
	gap: 15px;
	margin-top: 18px;
}

.aitvgf-login-field {
	display: grid;
	gap: 8px;
}

.aitvgf-login-field label {
	color: #26323d;
	font-size: 13px;
	font-weight: 800;
}

.aitvgf-login-input-wrap {
	position: relative;
}

.aitvgf-login-input-wrap::before {
	background: linear-gradient(90deg, rgba(38, 216, 195, 0.64), rgba(244, 196, 99, 0.58));
	border-radius: 8px;
	content: "";
	inset: -1px;
	opacity: 0;
	position: absolute;
	transition: opacity 180ms ease;
	z-index: 0;
}

.aitvgf-login-input-wrap:focus-within::before {
	opacity: 1;
}

.aitvgf-login-input-wrap input {
	background: #f8fbfb;
	border: 1px solid #cfdadd;
	border-radius: 7px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
	box-sizing: border-box;
	color: #18212a;
	font: inherit;
	min-height: 50px;
	padding: 12px 14px;
	position: relative;
	width: 100%;
	z-index: 1;
}

.aitvgf-password-wrap input {
	padding-right: 54px;
}

.aitvgf-login-input-wrap input:focus {
	border-color: transparent;
	box-shadow: 0 14px 28px rgba(13, 110, 110, 0.12);
	outline: none;
}

.aitvgf-password-toggle {
	align-items: center;
	background: #e9f0f1;
	border: 1px solid #cfdbde;
	border-radius: 7px;
	color: #24323d;
	cursor: pointer;
	display: inline-flex;
	height: 36px;
	justify-content: center;
	position: absolute;
	right: 7px;
	top: 7px;
	transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
	width: 38px;
	z-index: 2;
}

.aitvgf-password-toggle:hover,
.aitvgf-password-toggle:focus {
	background: #ffffff;
	border-color: #0d6e6e;
	outline: none;
	transform: translateY(-1px);
}

.aitvgf-password-toggle svg {
	display: block;
	fill: none;
	height: 19px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.9;
	width: 19px;
}

.aitvgf-password-toggle .aitvgf-eye-closed {
	display: none;
}

.aitvgf-password-toggle.is-visible .aitvgf-eye-open {
	display: none;
}

.aitvgf-password-toggle.is-visible .aitvgf-eye-closed {
	display: block;
}

.aitvgf-login-button {
	align-items: center;
	background: linear-gradient(135deg, #0d6e6e, #10202d 54%, #c94f3d);
	border: 0;
	border-radius: 7px;
	box-shadow: 0 16px 32px rgba(13, 110, 110, 0.28);
	color: #ffffff;
	cursor: pointer;
	display: inline-flex;
	font-size: 15px;
	font-weight: 900;
	justify-content: center;
	margin-top: 4px;
	min-height: 52px;
	overflow: hidden;
	position: relative;
	text-decoration: none;
	transition: transform 160ms ease, box-shadow 160ms ease;
	width: 100%;
}

.aitvgf-login-button::before {
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
	content: "";
	height: 100%;
	left: -40%;
	position: absolute;
	top: 0;
	transform: skewX(-18deg);
	transition: left 420ms ease;
	width: 34%;
}

.aitvgf-login-button:hover,
.aitvgf-login-button:focus {
	box-shadow: 0 20px 38px rgba(13, 110, 110, 0.34);
	outline: none;
	transform: translateY(-2px);
}

.aitvgf-login-button:hover::before,
.aitvgf-login-button:focus::before {
	left: 112%;
}

.aitvgf-login-button span {
	position: relative;
	z-index: 1;
}

.aitvgf-login-error {
	background: #fff0ed;
	border: 1px solid #e5a093;
	border-radius: 8px;
	color: #7a2417;
	font-size: 14px;
	margin-bottom: 14px;
	padding: 11px 12px;
}

.aitvgf-login-footnote {
	border-top: 1px solid #e2e8eb;
	color: #6b7882;
	font-size: 12px;
	font-weight: 800;
	margin-top: 18px;
	padding-top: 14px;
}

@keyframes aitvgf-cube-spin {
	0% {
		transform: rotateX(-18deg) rotateY(0deg) rotateZ(0deg);
	}

	100% {
		transform: rotateX(-18deg) rotateY(360deg) rotateZ(360deg);
	}
}

@keyframes aitvgf-ring-turn-one {
	0% {
		transform: rotateX(76deg) rotateZ(0deg);
	}

	100% {
		transform: rotateX(76deg) rotateZ(360deg);
	}
}

@keyframes aitvgf-ring-turn-two {
	0% {
		transform: rotateY(68deg) rotateZ(0deg);
	}

	100% {
		transform: rotateY(68deg) rotateZ(-360deg);
	}
}

@keyframes aitvgf-ring-turn-three {
	0% {
		transform: rotateX(22deg) rotateY(72deg) rotateZ(0deg);
	}

	100% {
		transform: rotateX(22deg) rotateY(72deg) rotateZ(360deg);
	}
}

@keyframes aitvgf-panel-float-one {
	0%,
	100% {
		transform: translate3d(0, 0, 120px) rotateZ(-8deg);
	}

	50% {
		transform: translate3d(10px, -16px, 145px) rotateZ(-4deg);
	}
}

@keyframes aitvgf-panel-float-two {
	0%,
	100% {
		transform: translate3d(0, 0, 150px) rotateZ(9deg);
	}

	50% {
		transform: translate3d(-12px, 18px, 118px) rotateZ(5deg);
	}
}

@keyframes aitvgf-panel-float-three {
	0%,
	100% {
		transform: translate3d(0, 0, 90px) rotateZ(5deg);
	}

	50% {
		transform: translate3d(14px, 13px, 126px) rotateZ(1deg);
	}
}

.aitvgf-settings-panel {
	background: #ffffff;
	border: 1px solid #d9e1e5;
	border-radius: 8px;
	box-shadow: 0 10px 28px rgba(24, 33, 42, 0.08);
	margin: 18px 0 22px;
	max-width: 1180px;
	padding: 20px 22px;
}

.aitvgf-settings-panel h2 {
	font-size: 22px;
	margin: 0 0 8px;
}

.aitvgf-settings-panel p {
	color: #5f6f7a;
	max-width: 860px;
}

.aitvgf-engine-options {
	display: grid;
	gap: 9px 18px;
	grid-template-columns: repeat(2, minmax(220px, 1fr));
}

.aitvgf-engine-options label {
	align-items: center;
	display: flex;
	gap: 8px;
}

.aitvgf-generator * {
	box-sizing: border-box;
}

.aitvgf-hero {
	align-items: flex-start;
	background: linear-gradient(135deg, #f7fbfb 0%, #edf6f1 52%, #f9f1dc 100%);
	border: 1px solid var(--aitvgf-line);
	border-radius: 8px;
	display: flex;
	gap: 18px;
	justify-content: space-between;
	padding: 24px;
}

.aitvgf-kicker {
	color: var(--aitvgf-accent-dark);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.aitvgf-hero h2 {
	font-size: clamp(24px, 3vw, 38px);
	line-height: 1.1;
	margin: 0;
}

.aitvgf-intro {
	color: var(--aitvgf-muted);
	font-size: 15px;
	line-height: 1.6;
	margin: 12px 0 0;
	max-width: 760px;
}

.aitvgf-badge {
	background: #12343b;
	border-radius: 999px;
	color: #f6f0df;
	flex: 0 0 auto;
	font-size: 13px;
	font-weight: 700;
	padding: 8px 13px;
	white-space: nowrap;
}

.aitvgf-notice {
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.5;
	margin-top: 14px;
	padding: 12px 14px;
}

.aitvgf-warning {
	background: var(--aitvgf-warn-bg);
	border: 1px solid var(--aitvgf-warn-border);
}

.aitvgf-info {
	background: #edf7ff;
	border: 1px solid #9bc7df;
	color: #17364b;
}

.aitvgf-advanced-note {
	background: #f2f1ec;
	border: 1px solid #cfc8b6;
	color: #332f27;
}

.aitvgf-workspace {
	align-items: start;
	display: grid;
	gap: 18px;
	grid-template-columns: minmax(300px, 0.95fr) minmax(280px, 0.75fr);
	margin-top: 18px;
}

.aitvgf-controls,
.aitvgf-preview {
	background: var(--aitvgf-panel);
	border: 1px solid var(--aitvgf-line);
	border-radius: 8px;
	box-shadow: 0 10px 28px rgba(24, 33, 42, 0.08);
}

.aitvgf-controls {
	display: grid;
	gap: 15px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	padding: 18px;
}

.aitvgf-field {
	display: flex;
	flex-direction: column;
	gap: 7px;
	min-width: 0;
}

.aitvgf-field-full {
	grid-column: 1 / -1;
}

.aitvgf-field label,
.aitvgf-check {
	color: #26323d;
	font-size: 13px;
	font-weight: 700;
}

.aitvgf-field textarea,
.aitvgf-field select,
.aitvgf-field input[type="number"] {
	background: #fbfcfd;
	border: 1px solid #cdd7dc;
	border-radius: 6px;
	color: var(--aitvgf-ink);
	font: inherit;
	min-height: 42px;
	padding: 10px 11px;
	width: 100%;
}

.aitvgf-field textarea {
	line-height: 1.5;
	min-height: 190px;
	resize: vertical;
}

.aitvgf-field input[type="color"] {
	background: #fbfcfd;
	border: 1px solid #cdd7dc;
	border-radius: 6px;
	cursor: pointer;
	height: 42px;
	padding: 4px;
	width: 100%;
}

.aitvgf-field textarea:focus,
.aitvgf-field select:focus,
.aitvgf-field input:focus {
	border-color: var(--aitvgf-accent);
	box-shadow: 0 0 0 3px rgba(13, 110, 110, 0.15);
	outline: none;
}

.aitvgf-check {
	align-items: flex-start;
	background: var(--aitvgf-soft);
	border: 1px solid #c7ddd6;
	border-radius: 8px;
	display: flex;
	gap: 10px;
	line-height: 1.45;
	padding: 12px;
}

.aitvgf-check input {
	margin-top: 2px;
}

.aitvgf-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.aitvgf-button {
	align-items: center;
	border: 0;
	border-radius: 6px;
	cursor: pointer;
	display: inline-flex;
	font-size: 14px;
	font-weight: 800;
	justify-content: center;
	min-height: 42px;
	padding: 10px 15px;
	text-decoration: none;
	transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.aitvgf-button:hover:not(:disabled) {
	box-shadow: 0 8px 18px rgba(24, 33, 42, 0.14);
	transform: translateY(-1px);
}

.aitvgf-button:disabled {
	cursor: not-allowed;
	opacity: 0.55;
}

.aitvgf-button-primary {
	background: var(--aitvgf-accent);
	color: #ffffff;
}

.aitvgf-button-secondary {
	background: #e8eef0;
	color: #18212a;
}

.aitvgf-button-download {
	background: #c94f3d;
	color: #ffffff;
}

.aitvgf-preview {
	padding: 18px;
	position: sticky;
	top: 36px;
}

.aitvgf-engine-pill {
	background: #f7fafb;
	border: 1px solid var(--aitvgf-line);
	border-radius: 999px;
	color: #26323d;
	display: inline-flex;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.3;
	margin: 0 0 12px;
	padding: 8px 12px;
}

.aitvgf-engine-pill.is-error {
	background: #fff0ed;
	border-color: #e5a093;
	color: #7a2417;
}

.aitvgf-engine-pill.is-success {
	background: #edf8f1;
	border-color: #92cba2;
	color: #1c5f2f;
}

.aitvgf-canvas-shell {
	align-items: center;
	background: #1b252c;
	border-radius: 8px;
	display: flex;
	justify-content: center;
	min-height: 420px;
	overflow: hidden;
	padding: 14px;
}

.aitvgf-canvas-shell canvas {
	background: #12343b;
	border-radius: 6px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
	display: block;
	height: auto;
	max-height: min(70vh, 720px);
	max-width: 100%;
	width: auto;
}

.aitvgf-status {
	background: #f7fafb;
	border: 1px solid var(--aitvgf-line);
	border-radius: 8px;
	color: #26323d;
	font-size: 14px;
	line-height: 1.45;
	margin-top: 14px;
	min-height: 44px;
	padding: 12px;
}

.aitvgf-status.is-error {
	background: #fff0ed;
	border-color: #e5a093;
	color: #7a2417;
}

.aitvgf-status.is-success {
	background: #edf8f1;
	border-color: #92cba2;
	color: #1c5f2f;
}

.aitvgf-progress {
	background: #e4ebee;
	border-radius: 999px;
	height: 9px;
	margin-top: 12px;
	overflow: hidden;
}

.aitvgf-progress span {
	background: linear-gradient(90deg, #0d6e6e, #c94f3d);
	display: block;
	height: 100%;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 160ms linear;
}

.aitvgf-scene-board {
	display: grid;
	gap: 10px;
	margin-top: 14px;
}

.aitvgf-scene-item {
	background: #fbfcfd;
	border: 1px solid var(--aitvgf-line);
	border-radius: 8px;
	overflow: hidden;
}

.aitvgf-scene-item summary {
	cursor: pointer;
	font-size: 13px;
	font-weight: 800;
	padding: 11px 12px;
}

.aitvgf-scene-item dl {
	display: grid;
	gap: 5px 12px;
	grid-template-columns: 130px minmax(0, 1fr);
	margin: 0;
	padding: 0 12px 12px;
}

.aitvgf-scene-item dt,
.aitvgf-scene-item dd {
	font-size: 12px;
	line-height: 1.4;
	margin: 0;
}

.aitvgf-scene-item dt {
	color: #5f6f7a;
	font-weight: 800;
}

.aitvgf-scene-item dd {
	color: #26323d;
	overflow-wrap: anywhere;
}

.aitvgf-context-frontend {
	margin-left: auto;
	margin-right: auto;
}

@media (max-width: 860px) {
	.aitvgf-login-shell {
		grid-template-columns: 1fr;
		max-width: 620px;
	}

	.aitvgf-login-visual {
		min-height: 360px;
	}

	.aitvgf-login-card {
		max-width: none;
		transform: none;
	}

	.aitvgf-hero,
	.aitvgf-workspace,
	.aitvgf-controls,
	.aitvgf-engine-options {
		grid-template-columns: 1fr;
	}

	.aitvgf-hero {
		display: block;
	}

	.aitvgf-badge {
		display: inline-flex;
		margin-top: 16px;
	}

	.aitvgf-preview {
		position: static;
	}

	.aitvgf-canvas-shell {
		min-height: 340px;
	}
}

@media (max-width: 520px) {
	.aitvgf-standalone-app {
		padding: 10px;
	}

	.aitvgf-login-screen {
		min-height: calc(100vh - 20px);
		padding: 12px;
	}

	.aitvgf-login-visual {
		min-height: 250px;
	}

	.aitvgf-kinetic-object {
		transform: translate3d(-50%, -50%, 0) rotateX(58deg) rotateZ(-8deg) scale(0.72);
	}

	.aitvgf-login-caption {
		bottom: 12px;
		left: 12px;
		right: 12px;
	}

	.aitvgf-login-caption strong {
		font-size: 15px;
	}

	.aitvgf-login-card h1 {
		font-size: 30px;
	}

	.aitvgf-app-topbar {
		align-items: flex-start;
		display: grid;
		gap: 12px;
	}

	.aitvgf-generator {
		margin: 14px 0;
	}

	.aitvgf-hero,
	.aitvgf-controls,
	.aitvgf-preview {
		padding: 14px;
	}

	.aitvgf-actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.aitvgf-scene-item dl {
		grid-template-columns: 1fr;
	}

	.aitvgf-button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.aitvgf-cube,
	.aitvgf-ring,
	.aitvgf-floating-panel {
		animation: none;
	}

	.aitvgf-login-button,
	.aitvgf-password-toggle,
	.aitvgf-button {
		transition: none;
	}
}
