.vmpb {
	--vmpb-gold-deep: var(--vm-gold-deep, #7a5c10);
	--vmpb-gold-mid: var(--vm-gold, #c9a227);
	--vmpb-gold-bright: var(--vm-gold-bright, #f5e6a8);
	--vmpb-silver: var(--vm-silver, #e8eef5);
	--vmpb-color: var(--vm-gold-ink, #2a1f08);
	--vmpb-accent: var(--vm-gold-deep, #5c4a12);
	--vmpb-font-family: inherit;
	--vmpb-ease: var(--vm-ease-out, cubic-bezier(0.22, 1, 0.36, 1));
	--vmpb-duration: var(--vm-duration, 180ms);
	box-sizing: border-box;
	position: relative;
	z-index: 999;
	width: 100%;
	overflow: hidden;
	background-color: var(--vmpb-gold-mid);
	background-image: var(--vm-gradient-gold, linear-gradient(
		118deg,
		#6e5412 0%,
		#b8891f 14%,
		#f3dfa0 28%,
		#fff8dc 36%,
		#d4af37 48%,
		#f8ecc8 58%,
		#c5a028 72%,
		#eceff4 82%,
		#a67c00 92%,
		#6b4f0e 100%
	));
	background-size: 220% 100%;
	border-bottom: 1px solid rgba(122, 92, 16, 0.35);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.55),
		inset 0 -1px 0 rgba(0, 0, 0, 0.12);
	color: var(--vmpb-color);
	font-family: var(--vmpb-font-family);
	font-size: var(--vmpb-font-size, 14px);
	font-weight: var(--vmpb-font-weight, 600);
	letter-spacing: 0.02em;
	line-height: 1.35;
	isolation: isolate;
}

@media (prefers-reduced-motion: no-preference) {
	.vmpb {
		animation: vmpb-metal-shift 10s ease-in-out infinite;
	}
}

.vmpb::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	opacity: 0.7;
	pointer-events: none;
	background-image:
		radial-gradient(circle at 8% 42%, rgba(255, 255, 255, 0.95) 0 0.55px, transparent 0.65px),
		radial-gradient(circle at 17% 68%, rgba(255, 248, 220, 0.9) 0 0.45px, transparent 0.55px),
		radial-gradient(circle at 26% 28%, rgba(255, 255, 255, 0.85) 0 0.5px, transparent 0.6px),
		radial-gradient(circle at 35% 55%, rgba(232, 238, 245, 0.95) 0 0.4px, transparent 0.5px),
		radial-gradient(circle at 44% 38%, rgba(255, 255, 255, 0.9) 0 0.55px, transparent 0.65px),
		radial-gradient(circle at 53% 72%, rgba(255, 248, 220, 0.85) 0 0.45px, transparent 0.55px),
		radial-gradient(circle at 62% 24%, rgba(255, 255, 255, 0.95) 0 0.5px, transparent 0.6px),
		radial-gradient(circle at 71% 58%, rgba(232, 238, 245, 0.9) 0 0.4px, transparent 0.5px),
		radial-gradient(circle at 80% 34%, rgba(255, 255, 255, 0.85) 0 0.55px, transparent 0.65px),
		radial-gradient(circle at 89% 66%, rgba(255, 248, 220, 0.95) 0 0.45px, transparent 0.55px),
		radial-gradient(circle at 96% 46%, rgba(255, 255, 255, 0.9) 0 0.5px, transparent 0.6px);
	background-size: 100% 100%;
}

@media (prefers-reduced-motion: no-preference) {
	.vmpb::before {
		animation: vmpb-glitter 2.6s ease-in-out infinite;
	}
}

.vmpb *,
.vmpb *::before,
.vmpb *::after {
	box-sizing: border-box;
}

.vmpb--solid {
	background-size: 100% 100%;
	animation: none;
}

.vmpb--soft {
	background-image: linear-gradient(
		118deg,
		#d8dde3 0%,
		#f4f6f8 22%,
		#ffffff 40%,
		#e2e8f0 58%,
		#f8fafc 76%,
		#c8d0da 100%
	);
	--vmpb-color: #2c3138;
	--vmpb-accent: #5b6b7c;
	border-bottom-color: rgba(0, 0, 0, 0.08);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.9),
		inset 0 -1px 0 rgba(0, 0, 0, 0.06);
}

/* Silver-gold shine sweep across the bar. */
.vmpb--gradient::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(
		108deg,
		transparent 28%,
		rgba(255, 255, 255, 0.15) 40%,
		rgba(255, 255, 255, 0.75) 48%,
		rgba(248, 250, 252, 0.95) 50%,
		rgba(255, 248, 220, 0.55) 52%,
		rgba(255, 255, 255, 0.2) 60%,
		transparent 72%
	);
	pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
	.vmpb--gradient::after {
		animation: vmpb-sheen 5.5s ease-in-out infinite;
	}
}

.vmpb-marquee,
.vmpb-slider {
	position: relative;
	z-index: 1;
}

.vmpb-marquee {
	display: flex;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.vmpb-track {
	display: flex;
	flex: none;
	width: max-content;
	animation: vmpb-scroll var(--vmpb-speed, 28s) linear infinite;
	will-change: transform;
}

.vmpb-group {
	display: flex;
	flex: none;
	align-items: center;
}

.vmpb-item {
	position: relative;
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 10px clamp(20px, 3vw, 44px);
	text-align: center;
}

.vmpb--marquee .vmpb-item::after {
	content: "";
	position: absolute;
	top: 50%;
	right: -3px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: radial-gradient(circle, #fff 0%, rgba(255, 255, 255, 0.4) 55%, transparent 70%);
	box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
	opacity: 0.75;
	transform: translateY(-50%);
}

.vmpb-item__content {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: inherit;
	text-decoration: none;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.28);
}

.vmpb-item__icon {
	flex: none;
	width: 14px;
	height: 14px;
	fill: #6b4f0e;
	filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.65));
	opacity: 0.95;
	animation: vmpb-twinkle 2.2s ease-in-out infinite;
}

.vmpb-item__text strong {
	display: inline-block;
	margin: 0 1px;
	padding: 2px 10px;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 6px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(236, 239, 244, 0.82) 100%);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.65) inset,
		0 1px 4px rgba(90, 68, 12, 0.18);
	color: #3d2e0a;
	font-size: 0.86em;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-shadow: none;
	text-transform: uppercase;
	white-space: nowrap;
}

.vmpb--soft .vmpb-item__text strong {
	border-color: rgba(255, 255, 255, 0.85);
	background: linear-gradient(180deg, #fff 0%, #eef2f6 100%);
	color: #1a1a1a;
}

.vmpb-item__content--link::after {
	content: "\2192";
	flex: none;
	transition: transform var(--vmpb-duration) var(--vmpb-ease);
}

.vmpb-item__content--link:hover,
.vmpb-item__content--link:focus-visible {
	color: #1a1204;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.vmpb-item__content--link:hover::after,
.vmpb-item__content--link:focus-visible::after {
	transform: translateX(4px);
}

.vmpb--marquee:hover .vmpb-track,
.vmpb--marquee:focus-within .vmpb-track {
	animation-play-state: paused;
}

.vmpb-slider {
	display: grid;
	min-height: 46px;
}

.vmpb-slide {
	grid-area: 1 / 1;
	width: 100%;
	opacity: 0;
	visibility: hidden;
	transform: translateY(60%);
	transition: opacity var(--vmpb-duration) var(--vmpb-ease), transform var(--vmpb-duration) var(--vmpb-ease);
}

.vmpb-slide.is-active {
	opacity: 1;
	visibility: visible;
	transform: none;
}

@keyframes vmpb-scroll {
	to {
		transform: translateX(-50%);
	}
}

@keyframes vmpb-metal-shift {
	0%,
	100% {
		background-position: 0% 50%;
	}

	50% {
		background-position: 100% 50%;
	}
}

@keyframes vmpb-sheen {
	0%,
	55% {
		transform: translateX(-120%);
	}

	100% {
		transform: translateX(120%);
	}
}

@keyframes vmpb-glitter {
	0%,
	100% {
		opacity: 0.45;
	}

	35% {
		opacity: 0.85;
	}

	70% {
		opacity: 0.6;
	}
}

@keyframes vmpb-twinkle {
	0%,
	100% {
		opacity: 0.55;
		transform: scale(0.88) rotate(0deg);
	}

	50% {
		opacity: 1;
		transform: scale(1.08) rotate(12deg);
	}
}

@media (max-width: 600px) {
	.vmpb {
		font-size: calc(var(--vmpb-font-size, 15px) - 1px);
	}

	.vmpb-item {
		padding-inline: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vmpb,
	.vmpb::before,
	.vmpb-track,
	.vmpb--gradient::after,
	.vmpb-item__icon {
		animation: none;
	}

	.vmpb-slide {
		transform: none;
		transition: none;
	}
}
