/* 商品循环：有 glB/gltF 时由 JS 在 .zhanlan-wc-card-three 内挂 WebGL；canvas 不设 pointer 事件，整卡仍由 stretched-link 可点 */

/* 与 .zhanlan-home-model-card__media 的 display:grid 同一格叠满；勿用 absolute 脱离流，避免与直挂 img 在不同行高计算下不一致 */
.zhanlan-home-model-card__media .zhanlan-wc-card-three {
	grid-area: 1 / 1;
	align-self: stretch;
	justify-self: stretch;
	width: 100%;
	height: 100%;
	min-height: 0;
	position: relative;
}

.zhanlan-wc-card-three {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 0;
	--zhanlan-three-bg: #1a1a1a;
	background: var(--zhanlan-three-bg);
}

.zhanlan-wc-card-three__canvas {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	min-height: 0;
}

.zhanlan-wc-card-three__poster {
	display: block;
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
	transition: opacity 0.35s ease, visibility 0.35s ease;
}

.zhanlan-wc-card-three--ready .zhanlan-wc-card-three__poster {
	opacity: 0;
	visibility: hidden;
}

.zhanlan-wc-card-three__gl {
	display: block;
	width: 100% !important;
	height: 100% !important;
	pointer-events: none;
}
