.chatbotui_box {
	box-sizing: border-box;
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 9999;
	width: 64px;
	height: 64px;
	border-radius: 12px;
	overflow: hidden;
	background: transparent;
	transition: width 0.3s, height 0.3s, border-radius 0.25s ease, box-shadow 0.2s ease;
}
.chatbot_new_live:hover + .chatbotui_box,
.chatbotui_box:hover {
	width: 230px;
}
.chatbotui_box.is-open {
	width: min(450px);
	height: min(775px);
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.chatbot_new_live {
	cursor: pointer;
}
.chatbot_live_bedge_text {
	font-weight: 700;
	color: #fff;
	font-size: 10px;
	font-family: fangsong;
}
.chatbotui_box.is-open ~ .chatbot_new_live {
	display: none !important;
}
.chatbotui_box.ui-draggable:hover .chatbotui_fab {
	padding: 8.5px 20px;
}
.chatbotui_box.ui-draggable:hover .chatbot_title_box {
	opacity: 1;
}
.chatbotui_box.ui-draggable.is-open::after,
.chatbotui_box.ui-draggable.is-open:hover::after {
	opacity: 0;
}
@media (max-height: 739px) {
	.chatbotui_box.is-open {
		height: min(600px);
	}
}
@media (max-height: 605px) {
	.chatbotui_box.is-open {
		height: min(565px);
	}
}
@media (max-height: 575px) {
	.chatbotui_box.is-open {
		height: min(478px);
	}
}
/*블러 애니매이션*/
.chatbotui_box::after {
	height: 150%;
	background: #fff;
	position: absolute;
	content: '';
	top: 50%;
	transform: translate(65px, -50%) rotate(45deg);
	right: 0;
	z-index: 1;
	opacity: 0;
	box-shadow: 0 0 30px 20px #fff;
	transition: all 0.4s;
}
.chatbotui_box.ui-draggable:hover::after {
	transform: translate(-270px, -50%);
	opacity: 1;
}
.chatbotui_box.not-animation::after {
	opacity: 0;
	pointer-events: none;
}
.chatbotui_fab {
	display: flex;
	align-items: center;
	position: absolute;
	inset: 0;
	place-items: center;
	border: 0;
	background: #1c2681;
	color: #fff;
	cursor: pointer;
	border-radius: inherit;
	width: 100%;
	height: 100%;
	font-size: 20px;
	transition: padding 0.3s, transform 0.3s;
	padding: 8.5px 10px;
	justify-content: flex-end;
}
.chatbotui_fab:active {
	transform: scale(0.97);
}
.chatbotui_box.is-open .chatbotui_fab {
	display: none;
}
.chatbotui_box.is-open .chatbotui_header {
	display: flex;
	height: 68px;
	top: 0px;
	z-index: 1;
	position: absolute;
	left: 55px;
	width: 300px;
}
.chatbotui_framewrap {
	position: absolute;
	inset: 0 0 0 0;
	display: none;
	background: #fff;
}
.chatbotui_box.is-open .chatbotui_framewrap {
	display: block;
}
#chatbotui {
	width: 100%;
	height: 100%;
	border: 0;
	background: #fff;
}
.chatbot_title_box {
	width: calc(100% - 44px);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	overflow: hidden;
	flex: 0 0 auto;
	opacity: 0;
	transition: 1s opacity ease;
}
.chatbot_sm_title,
.chatbot_title {
	font-family: Pretendard;
	margin: 0;
	white-space: nowrap;
	color: #fff;
}
.chatbot_sm_title {
	font-size: 13px;
	font-style: normal;
	font-weight: 400;
	line-height: 140%;
}
.chatbot_title {
	font-size: 18px;
	font-style: normal;
	font-weight: 600;
	line-height: 140%;
}
.chatbot_img {
	width: 44px;
	height: 44px;
}
.chatbotui_box:not(.is-open) {
	bottom: 20px !important;
	right: 20px !important;
	top: auto !important;
	left: auto !important;
}
/* 투명 드래그 핸들러(오버레이) */
.chatbotui_drag_handle {
	position: absolute;
	inset: 0; /* 박스 전체를 덮음 */
	display: none; /* 평소엔 숨김 */
	cursor: move;
	background: transparent; /* 투명 */
	z-index: 2;
}
.chatbot_new_live {
	display: none;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	position: absolute;
	background: #ee444a;
	width: 30px;
	height: 18px;
	border-radius: 4px;
	top: -10px;
	right: 2px;
	z-index: 10000;
	padding: 3px;
}
.chatbot_new_live.active {
	display: flex;
}
