@media (max-width: 600px) {
	.smile-ai-widget--bottom-right,
	.smile-ai-widget--bottom-left {
		bottom: 14px;
		left: 14px;
		right: 14px;
	}

	.smile-ai-toggle {
		height: 68px;
		width: 68px;
	}

	.smile-ai-toggle__kid,
	.smile-ai-toggle__kid svg {
		height: 58px;
		width: 58px;
	}

	.smile-ai-toggle__speech {
		bottom: 76px;
		max-width: calc(100vw - 40px);
		min-width: 0;
		padding: 10px 12px;
		right: 0;
		width: min(240px, calc(100vw - 40px));
	}

	.smile-ai-toggle__speech::after {
		right: 28px;
	}

	.smile-ai-widget--bottom-left .smile-ai-toggle__speech {
		left: 0;
		right: auto;
	}

	.smile-ai-widget--bottom-left .smile-ai-toggle__speech::after {
		left: 28px;
		right: auto;
	}

	.smile-ai-widget--bottom-right .smile-ai-toggle {
		margin-left: auto;
	}

	.smile-ai-widget--bottom-left .smile-ai-toggle {
		margin-right: auto;
	}

	.smile-ai-widget--bottom-left .smile-ai-panel,
	.smile-ai-widget--bottom-right .smile-ai-panel {
		bottom: 78px;
		left: 0;
		right: 0;
		width: 100%;
	}

	.smile-ai-panel {
		height: min(540px, calc(100vh - 104px));
	}

	.smile-ai-message {
		max-width: 92%;
	}

	.smile-ai-message--welcome {
		max-width: 96%;
	}

	.smile-ai-header {
		padding: 10px 12px;
	}

	.smile-ai-messages {
		padding: 14px;
	}
}

@media (max-width: 380px) {
	.smile-ai-toggle__speech {
		max-width: calc(100vw - 30px);
		right: 0;
		width: min(210px, calc(100vw - 30px));
	}

	.smile-ai-toggle__speech strong {
		font-size: 14px;
	}

	.smile-ai-toggle__speech span {
		font-size: 11px;
	}

	.smile-ai-form {
		grid-template-columns: 1fr;
	}

	.smile-ai-send {
		min-width: 58px;
		padding-left: 10px;
		padding-right: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.smile-ai-widget *,
	.smile-ai-widget *::before,
	.smile-ai-widget *::after {
		animation-duration: 0.001ms !important;
		scroll-behavior: auto !important;
		transition-duration: 0.001ms !important;
	}
}
