.pmp-wrapper {
	width: 100%;
	max-width: 100%;
	background: #000;
	line-height: 0;
}

/* Video.js applies its own sizing via the fluid/responsive options; constrain
   the maximum height and keep a black backdrop while the poster/first frame loads. */
.pmp-wrapper .video-js.pmp-player {
	width: 100%;
	max-height: 80vh;
	background: #000;
}

.pmp-wrapper .video-js.pmp-player video {
	max-height: 80vh;
}

/* Denial overlay — shown when paid playback is refused (login required, expired,
   or not purchased). Covers the player so the message reads over the poster. */
.pmp-player .pmp-denial {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 24px;
	box-sizing: border-box;
	text-align: center;
	background: rgba(0, 0, 0, 0.82);
	line-height: 1.5;
}

.pmp-player .pmp-denial-message {
	margin: 0;
	max-width: 32em;
	color: #fff;
	font-size: 16px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.pmp-player .pmp-denial-login {
	display: inline-block;
	padding: 9px 22px;
	background: #2271b1;
	color: #fff;
	font-size: 15px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	text-decoration: none;
	border-radius: 4px;
}

.pmp-player .pmp-denial-login:hover,
.pmp-player .pmp-denial-login:focus {
	background: #135e96;
	color: #fff;
}

/* Login-required block — shown instead of a paid player for logged-out visitors.
   Standalone box (no player behind it), so it carries its own frame. */
.pmp-login-required {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 40px 24px;
	box-sizing: border-box;
	text-align: center;
	background: #1a1a1a;
	border: 1px solid #333;
	border-radius: 6px;
	line-height: 1.5;
}

.pmp-login-required-message {
	margin: 0;
	max-width: 32em;
	color: #fff;
	font-size: 16px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.pmp-login-required-button {
	display: inline-block;
	padding: 9px 22px;
	background: #2271b1;
	color: #fff;
	font-size: 15px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	text-decoration: none;
	border-radius: 4px;
}

.pmp-login-required-button:hover,
.pmp-login-required-button:focus {
	background: #135e96;
	color: #fff;
}
