.jmvp-ab {
	display: none !important;
}

button.jmvp-trigger[aria-busy="true"] {
	cursor: progress;
}

.jmvp-trigger-wrap {
	display: block;
	width: 100%;
	margin: 0;
}

.jmvp-trigger-wrap.jmvp-align-left {
	text-align: left;
}

.jmvp-trigger-wrap.jmvp-align-center {
	text-align: center;
}

.jmvp-trigger-wrap.jmvp-align-right {
	text-align: right;
}

button.jmvp-trigger {
	max-width: 100%;
	vertical-align: middle;
}

.jmvp-swirling {
	will-change: transform;
}

.jmvp-overlay {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 24px 16px;
	background: rgba(15, 23, 42, 0.85);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	z-index: 1000000;
	box-sizing: border-box;
}

.jmvp-card {
	box-sizing: border-box;
	position: relative;
	display: flex;
	flex-direction: column;
	width: 90%;
	max-width: 480px;
	max-height: min(86vh, 860px);
	padding: 52px 40px 40px;
	background: #fff;
	color: #0f172a;
	border: 2px solid #38bdf8;
	border-radius: 20px;
	box-shadow: 0 25px 50px -12px rgba(56, 189, 248, 0.25);
	overflow: hidden;
}

.jmvp-content {
	box-sizing: border-box;
	min-width: 0;
	min-height: 0;
	max-width: 100%;
	padding: 12px;
	overscroll-behavior: contain;
}

.jmvp-content > *:first-child {
	margin-top: 0;
}

.jmvp-content > *:last-child {
	margin-bottom: 0;
}

.jmvp-overlay .jmvp-content :is(p, li, h1, h2, h3, h4, h5, h6, blockquote):not(.has-text-color) {
	color: #0f172a;
}

.jmvp-overlay .jmvp-content a:not(.has-text-color) {
	color: #1d4ed8;
}

.jmvp-content img,
.jmvp-content video,
.jmvp-content svg {
	max-width: 100%;
	height: auto;
}

.jmvp-content iframe,
.jmvp-content pre,
.jmvp-content table {
	max-width: 100%;
}

.jmvp-content pre {
	overflow: auto;
}

.jmvp-overlay button.jmvp-close {
	appearance: none;
	-webkit-appearance: none;
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: transparent;
	color: #0f172a;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}

.jmvp-overlay button.jmvp-close svg {
	display: block;
	width: 18px;
	height: 18px;
}

.jmvp-overlay button.jmvp-close:hover,
.jmvp-overlay button.jmvp-close:focus {
	background: rgba(15, 23, 42, 0.08);
	color: #0f172a;
}

.jmvp-overlay button.jmvp-close:focus-visible {
	outline: 2px solid #38bdf8;
	outline-offset: 2px;
}

.jmvp-missing {
	padding: 12px 14px;
	border: 1px solid #f59e0b;
	border-radius: 8px;
	background: #fffbeb;
	color: #92400e;
}

@media (max-width: 600px) {
	.jmvp-card {
		padding: 52px 18px 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jmvp-overlay button.jmvp-close {
		transition: none;
	}
}

@media print {
	.jmvp-overlay {
		display: none !important;
	}
}
