/* محیط AMIR GAMMA — روشن، سبک و گرد با لحن آبی و گرادیان رنگی در خوش‌آمدگویی */

:root[data-ws="gamma"] {
	--bg: #ffffff;
	--bg-side: #f6f3fd;
	--bg-elev: #ffffff;
	--text: #1f1f1f;
	--muted: #5f6368;
	--border: #dfe4ea;
	--hover: #ebe5fa;
	--active: #e5dcfd;
	--accent: #6d3df5;
	--accent-soft: #f0eafe;
	--accent-contrast: #ffffff;
	--user-bubble: #f6f3fd;
	--composer-bg: #f6f3fd;
	--composer-border: #f6f3fd;
	--composer-radius: 32px;
	--send-bg: #6d3df5;
	--send-fg: #ffffff;
	--shadow: 0 1px 3px rgba(31, 31, 31, .08);
	--shadow-lg: 0 18px 50px rgba(31, 31, 31, .18);
	--code-bg: #f6f3fd;
	--code-head: #e8e1f8;
	--code-text: #1f1f1f;
	--code-muted: #5f6368;
	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	:root[data-ws="gamma"]:not([data-mode="light"]) {
		--bg: #131314;
		--bg-side: #1e1f20;
		--bg-elev: #1e1f20;
		--text: #e3e3e3;
		--muted: #9aa0a6;
		--border: #37393b;
		--hover: #2a2b2d;
		--active: #3a2a78;
		--accent: #b79cff;
		--accent-soft: #2a2050;
		--accent-contrast: #1c0b55;
		--user-bubble: #282a2c;
		--composer-bg: #1e1f20;
		--composer-border: #1e1f20;
		--composer-radius: 32px;
		--send-bg: #b79cff;
		--send-fg: #1c0b55;
		--shadow: 0 1px 4px rgba(0, 0, 0, .4);
		--shadow-lg: 0 18px 50px rgba(0, 0, 0, .6);
		--code-bg: #0f0f10;
		--code-head: #1b1c1d;
		--code-text: #e3e3e3;
		--code-muted: #9aa0a6;
		color-scheme: dark;
	}
}

:root[data-ws="gamma"][data-mode="dark"] {
	--bg: #131314;
	--bg-side: #1e1f20;
	--bg-elev: #1e1f20;
	--text: #e3e3e3;
	--muted: #9aa0a6;
	--border: #37393b;
	--hover: #2a2b2d;
	--active: #3a2a78;
	--accent: #b79cff;
	--accent-soft: #2a2050;
	--accent-contrast: #1c0b55;
	--user-bubble: #282a2c;
	--composer-bg: #1e1f20;
	--composer-border: #1e1f20;
	--composer-radius: 32px;
	--send-bg: #b79cff;
	--send-fg: #1c0b55;
	--shadow: 0 1px 4px rgba(0, 0, 0, .4);
	--shadow-lg: 0 18px 50px rgba(0, 0, 0, .6);
	--code-bg: #0f0f10;
	--code-head: #1b1c1d;
	--code-text: #e3e3e3;
	--code-muted: #9aa0a6;
	color-scheme: dark;
}

:root[data-ws="gamma"] { --grad: linear-gradient(90deg, #6d3df5 0%, #c13bd6 55%, #ff6b8b 100%); }

.amirai-theme-gamma .empty h1 {
	font-weight: 800;
	font-size: clamp(30px, 5.6vw, 48px);
	background: var(--grad);
	-webkit-background-clip: text; background-clip: text;
	color: transparent; -webkit-text-fill-color: transparent;
	padding-bottom: .1em;
}
.amirai-theme-gamma .empty p { font-size: 17px; }
.amirai-theme-gamma .empty-logo { background: var(--grad); color: #fff; box-shadow: none; border-radius: 50%; }
.amirai-theme-gamma .brand-mark { background: var(--grad); color: #fff; border-radius: 50%; }
.amirai-theme-gamma .msg .ava { background: transparent; color: #7a6bd3; }
.amirai-theme-gamma .new-chat { border: 0; border-radius: 99px; background: var(--hover); padding: 12px 16px; }
.amirai-theme-gamma .search { background: var(--bg-elev); }
.amirai-theme-gamma .chip { border: 0; background: var(--bg-side); border-radius: 18px; padding: 16px 18px; min-height: 92px; display: flex; align-items: flex-start; }
.amirai-theme-gamma .chip:hover { background: var(--hover); transform: none; }
.amirai-theme-gamma .composer { box-shadow: none; }
.amirai-theme-gamma .composer:focus-within { box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 35%, transparent); border-color: transparent; }
.amirai-theme-gamma .msg .bubble { border-radius: 22px 22px 22px 6px; }
.amirai-theme-gamma .m-logo { background: var(--grad); color: #fff; border-radius: 50%; }
.amirai-theme-gamma .modal { border-radius: 28px; }

@media (max-width: 640px) {
	.amirai-theme-gamma .chip { min-height: 0; padding: 13px 16px; }
}
