/* 靓号动态铭牌 */
.lhm-dynplate {
	position: relative;
	display: inline-flex;
	align-items: center;
	height: 38px;
	padding: 2px;
	border-radius: 9px;
	background: linear-gradient(180deg, #f2f7ff 0%, #c9d5ef 42%, #95a5cc 100%);
	box-shadow: 0 6px 18px rgba(32, 44, 120, 0.38), inset 0 0 0 1px rgba(255, 255, 255, 0.55);
	overflow: hidden;
	isolation: isolate;
}

.lhm-dynplate-icon {
	position: relative;
	z-index: 2;
	display: grid;
	place-items: center;
	flex: none;
	width: 34px;
	height: 34px;
	margin-right: -6px;
	clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
	color: #fff;
	background: linear-gradient(155deg, #e8f0ff 0%, #9aa8ff 45%, #c36bff 100%);
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.42);
	font-size: 19px;
	font-weight: 900;
	line-height: 1;
	text-shadow: 0 1px 2px rgba(28, 20, 90, 0.45);
}

.lhm-dynplate-body {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	min-width: 112px;
	height: 100%;
	padding: 0 18px 0 15px;
	clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
	background: linear-gradient(120deg, #23235f 0%, #3b2f9e 48%, #6d39bd 100%);
}

.lhm-dynplate-num {
	color: #fff;
	font-family: var(--lhm-num-font, inherit);
	font-size: 21px;
	font-weight: 900;
	line-height: 1;
	letter-spacing: 2px;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
	text-shadow: 0 2px 6px rgba(18, 18, 80, 0.55);
}

.lhm-dynplate-shine {
	position: absolute;
	inset: 0;
	z-index: 3;
	pointer-events: none;
	background: linear-gradient(105deg, transparent 28%, rgba(255, 255, 255, 0.6) 45%, transparent 62%);
	transform: translateX(-130%);
	animation: lhmPlateSweep 3.8s ease-in-out infinite;
	mix-blend-mode: screen;
}

.lhm-dynplate--violet .lhm-dynplate-body {
	background: linear-gradient(120deg, #32135c 0%, #6d28d9 50%, #b44dff 100%);
}

.lhm-dynplate--violet .lhm-dynplate-icon {
	background: linear-gradient(155deg, #fbe8ff 0%, #b06bff 48%, #7c3aed 100%);
}

.lhm-dynplate--gold .lhm-dynplate-body {
	background: linear-gradient(120deg, #3a2408 0%, #8a5a12 48%, #d9a520 100%);
}

.lhm-dynplate--gold .lhm-dynplate-icon {
	background: linear-gradient(155deg, #fff8d8 0%, #f3c33c 50%, #c8870c 100%);
}

.lhm-dynplate--gold .lhm-dynplate-num {
	color: #fff8e1;
}

.lhm-dynplate--cyan .lhm-dynplate-body {
	background: linear-gradient(120deg, #062b3f 0%, #0b6d8a 50%, #19b6c9 100%);
}

.lhm-dynplate--cyan .lhm-dynplate-icon {
	background: linear-gradient(155deg, #e6feff 0%, #4fd8ea 50%, #0891b2 100%);
}

.lhm-dynplate--icon-shield .lhm-dynplate-icon {
	clip-path: polygon(50% 0, 94% 14%, 94% 62%, 50% 100%, 6% 62%, 6% 14%);
}

.lhm-dynplate--icon-diamond .lhm-dynplate-icon {
	clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.lhm-dynplate--icon-circle .lhm-dynplate-icon {
	clip-path: none;
	border-radius: 50%;
}

.lhm-dynplate--icon-star .lhm-dynplate-icon {
	clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
	font-size: 15px;
}

.lhm-dynplate--icon-crown .lhm-dynplate-icon {
	clip-path: polygon(0 100%, 0 30%, 22% 52%, 50% 6%, 78% 52%, 100% 30%, 100% 100%);
	padding-top: 6px;
	font-size: 16px;
}

.lhm-dynplate--mini {
	height: 29px;
	padding: 2px;
	border-radius: 7px;
}

.lhm-dynplate--mini .lhm-dynplate-icon {
	width: 25px;
	height: 25px;
	margin-right: -5px;
	font-size: 14px;
}

.lhm-dynplate--mini .lhm-dynplate-body {
	min-width: 78px;
	padding: 0 13px 0 11px;
}

.lhm-dynplate--mini .lhm-dynplate-num {
	font-size: 15px;
	letter-spacing: 1.2px;
}

.lhm-dynplate--empty .lhm-dynplate-body {
	background: linear-gradient(120deg, #3a3a45 0%, #55556a 100%);
}

.lhm-dynplate--empty .lhm-dynplate-icon {
	background: linear-gradient(155deg, #cfd6e6 0%, #8b93a8 100%);
}

.lhm-dynplate--empty .lhm-dynplate-num {
	color: rgba(255, 255, 255, 0.78);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0;
}

@keyframes lhmPlateSweep {
	0%,
	55% {
		transform: translateX(-130%);
	}

	80%,
	100% {
		transform: translateX(130%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.lhm-dynplate-shine {
		display: none;
		animation: none;
	}
}
