* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-size: 14px;
	font-family:'思源黑体';
}

.two-line-clamp {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	text-overflow: ellipsis;
	width: 100%;
}

.three-line-clamp {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	text-overflow: ellipsis;
	width: 100%;
}

.cursor {
	cursor: pointer;
}

/* Toast 提示样式 */
.toast {
	position: fixed;
	top: 20px;
	left: 50%;
	transform: translateX(-50%) translateY(-100%);
	/* 初始位置在顶部中央但隐藏在上方 */
	padding: 12px 24px;
	border-radius: 4px;
	color: white;
	background-color: #333;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	z-index: 9999;
	opacity: 0;
	transition: all 0.3s ease;
	min-width: 200px;
	text-align: center;
}

.toast.show {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
	/* 显示时移动到正确位置 */
}

.toast.toast-success {
	background-color: #52c41a;
}

.toast.toast-error {
	background-color: #ff4d4f;
}

.toast.toast-info {
	background-color: #1890ff;
}

.toast.toast-warning {
	background-color: #faad14;
}

@media screen and (min-width:375px) {

	html {
		font-size: 10px;
	}
}