/* 容器：用于包裹图片与遮罩 */
.img-mask-wrapper {
	position: relative;
	display: inline-block;
	overflow: hidden;
	border-radius: 10px;
}

.img-mask-wrapper img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 10px;
}

.img-mask-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background: rgba(255, 255, 255, 0.5);
	backdrop-filter: blur(17px);
	-webkit-backdrop-filter: blur(8px);
	pointer-events: auto;
	z-index: 2;
	border-radius: 10px;
}

.img-mask-content {
	max-width: 80%;
	color: #222;
}

.img-mask-title {
	font-size: 17px;
	line-height: 1.5;
	margin-bottom: 12px;
	font-weight: 600;
}

.img-mask-button {
	appearance: none;
	border: none;
	background: rgba(255, 255, 255, 0.1);
	color: #333;
	font-size: 15px;
	padding: 10px 16px;
	border-radius: 8px;
	box-shadow: 0 6px 20px rgba(0,0,0,0.1);
	cursor: pointer;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.img-mask-button:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 24px rgba(0,0,0,0.15);
	background: rgba(255, 255, 255, 0.2);
}

.img-mask-button:active {
	transform: translateY(0);
	box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.no-backdrop-filter .img-mask-overlay {
	background: rgba(255, 255, 255, 0.85);
}
