/* Playback-first player: no download affordance, clear controls and strong contrast. */
video::-webkit-media-controls-download-button {
	display: none !important;
}

video::-webkit-media-controls-enclosure {
	overflow: hidden;
}

video,
.wp-video,
.mejs-container,
.lfr-video-card__embed,
.lol-gdrive-wrapper,
.lol-protected-video-frame {
	-webkit-user-drag: none;
	user-select: none;
}

video {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	min-height: 180px;
	background: #07111f;
	border-radius: 16px 16px 0 0;
	box-shadow: 0 18px 42px rgba(7, 17, 31, .18);
	accent-color: #16b8aa;
}

.wp-video,
.mejs-container {
	width: 100% !important;
	max-width: 100%;
	margin: 24px 0 0;
	overflow: visible !important;
	border-radius: 16px;
	background: #07111f;
	box-shadow: 0 18px 42px rgba(7, 17, 31, .18);
}

.lfr-video-card__embed .wp-video,
.lfr-video-card__embed .mejs-container {
	margin: 0;
}

.lol-video-tools {
	position: relative;
	z-index: 4;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	padding: 10px 12px;
	background: #0b1120;
	border-radius: 0 0 16px 16px;
	color: #fff;
	font: 700 12px/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.lol-video-tools--fullscreen {
	position: absolute !important;
	right: 14px;
	bottom: 48px;
	z-index: 2147483647;
	width: auto !important;
	padding: 7px 9px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 11px;
	background: rgba(5, 10, 22, 0.9);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
	backdrop-filter: blur(10px);
}

.lol-video-status {
	margin-right: auto;
	min-height: 18px;
	color: rgba(255, 255, 255, .62);
	font-size: 11px;
	font-weight: 600;
}

.lol-video-status[data-state="buffering"] {
	color: #8ce9df;
}

.lol-video-status[data-state="error"] {
	color: #ffb4b4;
}

.lol-video-tool-button,
.lol-video-speed__trigger {
	min-height: 34px;
	border: 1px solid rgba(255, 255, 255, 0.2) !important;
	border-radius: 9px;
	background: rgba(255, 255, 255, 0.1) !important;
	color: #fff !important;
	box-shadow: none !important;
}

.lol-video-tool-button {
	padding: 7px 11px;
	cursor: pointer;
	font: inherit;
}

.lol-video-tool-button:hover,
.lol-video-tool-button:focus-visible,
.lol-video-speed__trigger:hover,
.lol-video-speed__trigger:focus-visible {
	border-color: rgba(255, 255, 255, 0.55) !important;
	background: rgba(255, 255, 255, 0.18) !important;
}

.lol-video-speed {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	color: rgba(255, 255, 255, 0.78);
}

.lol-video-speed__trigger {
	min-width: 66px;
	padding: 6px 10px;
	cursor: pointer;
	font: inherit;
	text-align: center;
}

.lol-video-speed__trigger::after {
	content: '⌄';
	margin-left: 7px;
	color: #70e4d7;
}

.lol-video-speed__menu {
	position: absolute;
	right: 0;
	bottom: calc(100% + 8px);
	display: grid;
	min-width: 96px;
	padding: 5px;
	border: 1px solid rgba(151, 227, 219, .35);
	border-radius: 12px;
	background: #101d31;
	box-shadow: 0 14px 34px rgba(0, 0, 0, .35);
	opacity: 0;
	visibility: hidden;
	transform: translateY(5px) scale(.98);
	transform-origin: bottom right;
	transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.lol-video-speed[data-open="1"] .lol-video-speed__menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0) scale(1);
}

.lol-video-speed__option {
	padding: 8px 10px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #f7fffe;
	cursor: pointer;
	font: inherit;
	text-align: left;
}

.lol-video-speed__option:hover,
.lol-video-speed__option:focus-visible,
.lol-video-speed__option.is-selected {
	background: #1a9f96;
	color: #fff;
	outline: none;
}

@media (max-width: 480px) {
	.lol-video-tools {
		justify-content: center;
		padding: 8px;
		flex-wrap: wrap;
	}

	.lol-video-status {
		width: 100%;
		margin: 0 0 2px;
		text-align: center;
	}

	.lol-video-speed > span {
		display: none;
	}

	video {
		min-height: 150px;
		border-radius: 12px 12px 0 0;
	}

	.lol-video-tools--fullscreen {
		right: 8px;
		bottom: 46px;
	}
}
