/* 小站工具箱：响应式卡片网格（样式独立于主题） */

.xzt-toolbox {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 16px;
	margin: 24px 0;
}

.xzt-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	text-align: center;
	padding: 22px 14px;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	text-decoration: none;
	color: #333333;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.xzt-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
	text-decoration: none;
	color: #111111;
}

.xzt-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 16px;
	background: #f3f4f6;
	margin-bottom: 10px;
	overflow: hidden;
}

.xzt-icon-emoji {
	font-size: 34px;
	line-height: 1;
}

.xzt-icon-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.xzt-name {
	font-size: 15px;
	font-weight: 600;
	color: inherit;
}

.xzt-desc {
	font-size: 12px;
	color: #888888;
	margin-top: 4px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* 手机端：两列，卡片紧凑 */
@media (max-width: 480px) {
	.xzt-toolbox {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}
	.xzt-card {
		padding: 16px 8px;
	}
	.xzt-icon {
		width: 52px;
		height: 52px;
		border-radius: 12px;
	}
	.xzt-icon-emoji {
		font-size: 26px;
	}
}
