.mvvg-root,
.mvvg-root * {
	box-sizing: border-box;
}

.mvvg-root {
	color: #000;
}

.mvvg-grid {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 24px;
}

.mvvg-panel {
	border-radius: 16px;
	border-style: solid;
	border-width: 4px;
	padding: 24px;
	color: #000;
}

.mvvg-toc {
	flex: 1 1 280px;
	max-width: 320px;
	background-color: #d7f0fb;
	border-color: #100fff;
}

.mvvg-right {
	flex: 2 1 480px;
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-width: 280px;
}

.mvvg-carousel {
	background-color: #f9cde8;
	border-color: #eb58b1;
}

.mvvg-player {
	background-color: #b3ecd0;
	border-color: #00be62;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 220px;
}

.mvvg-toc-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.mvvg-toc-item {
	display: block;
	width: 100%;
	text-align: left;
	background: transparent;
	border: 2px solid transparent;
	border-radius: 10px;
	padding: 10px 14px;
	font: inherit;
	font-weight: 600;
	color: #000;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.mvvg-toc-item:hover {
	background-color: rgba(16, 15, 255, 0.1);
}

.mvvg-toc-item.is-active {
	background-color: rgba(16, 15, 255, 0.16);
	border-color: #100fff;
	transform: translateX(4px);
}

.mvvg-video-list {
	width: 100%;
}

.mvvg-track {
	display: flex;
	align-items: center;
	gap: 10px;
}

.mvvg-nav {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	border-radius: 999px;
	border: 2px solid #eb58b1;
	background-color: #fff;
	color: #000;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.mvvg-nav:hover {
	background-color: #eb58b1;
	color: #fff;
	transform: scale(1.08);
}

.mvvg-items {
	flex: 1 1 auto;
	display: flex;
	gap: 12px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scrollbar-width: thin;
	padding: 4px 2px;
}

.mvvg-item {
	flex: 0 0 180px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	background-color: #fff;
	border: 2px solid #eb58b1;
	border-radius: 12px;
	padding: 14px 10px;
	color: #000;
	cursor: pointer;
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.mvvg-item:hover {
	transform: translateY(-3px);
}

.mvvg-item.is-playing {
	background-color: #eb58b1;
	color: #fff;
}

.mvvg-item-icon {
	font-size: 18px;
}

.mvvg-item-title {
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	word-break: break-word;
}

.mvvg-video-el {
	width: 100%;
	max-height: 480px;
	border-radius: 10px;
	background: #000;
}

.mvvg-player-placeholder {
	margin: 0;
	color: #000;
	font-weight: 600;
	text-align: center;
}

.mvvg-empty-text {
	margin: 0;
	color: #000;
	font-weight: 500;
}

@media (max-width: 767px) {
	.mvvg-toc {
		max-width: none;
	}
}

/*
 * The theme applies a global gradient/pill style to bare <button> elements.
 * These three are this widget's interactive controls, not theme buttons —
 * force them back to the widget's own design regardless of that global rule.
 */
.mvvg-root button.mvvg-toc-item,
.mvvg-root button.mvvg-nav,
.mvvg-root button.mvvg-item {
	background-image: none !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	box-shadow: none !important;
}

.mvvg-root button.mvvg-toc-item {
	white-space: normal !important;
	overflow-wrap: anywhere;
	background-color: transparent !important;
	color: #000 !important;
	border-radius: 10px !important;
}

.mvvg-root button.mvvg-toc-item:hover {
	background-color: rgba(16, 15, 255, 0.1) !important;
}

.mvvg-root button.mvvg-toc-item.is-active {
	background-color: rgba(16, 15, 255, 0.16) !important;
}

.mvvg-root button.mvvg-nav {
	background-color: #fff !important;
	color: #000 !important;
	border-radius: 999px !important;
}

.mvvg-root button.mvvg-nav:hover {
	background-color: #eb58b1 !important;
	color: #fff !important;
}

.mvvg-root button.mvvg-item {
	background-color: #fff !important;
	color: #000 !important;
	border-radius: 12px !important;
}

.mvvg-root button.mvvg-item.is-playing {
	background-color: #eb58b1 !important;
	color: #fff !important;
}
