.vp {
	position: relative;
	width: 100%;
	height: 100%;
	background: #000;
	overflow: hidden;
	user-select: none;
	-webkit-user-select: none;
	-webkit-touch-callout: none;
	cursor: pointer;
	color: #fff;
	--vp-green: #72AA4F;
	--vp-green-hover: #5b883f;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
.vp video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #000;
	display: block;
	-webkit-touch-callout: none;
	pointer-events: none;
}
.vp-shade {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 88px;
	background: linear-gradient(transparent, rgba(0,0,0,.36));
	opacity: 0;
	transition: opacity .22s linear;
	pointer-events: none;
}
.vp.show-ui .vp-shade,
.vp.paused .vp-shade { opacity: 1; }
.vp-title {
	position: absolute;
	left: 16px;
	top: 16px;
	font-size: 15px;
	font-weight: 600;
	text-shadow: 0 1px 4px #000;
	opacity: 0;
	transition: opacity .22s linear;
	max-width: calc(100% - 32px);
}
.vp.paused .vp-title,
.vp.show-ui .vp-title { opacity: 1; }
.vp-bigplay {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 84px;
	height: 84px;
	margin: -42px 0 0 -42px;
	border: 0;
	border-radius: 50%;
	background: rgba(0,0,0,.45) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpolygon fill='white' points='24,16 52,32 24,48'/%3E%3C/svg%3E") center/42px no-repeat;
	opacity: 0;
	pointer-events: none;
	transition: opacity .22s linear;
}
.vp.paused .vp-bigplay { opacity: 1; }
.vp-controls {
	position: absolute;
	left: 8px;
	right: 8px;
	bottom: 8px;
	display: flex;
	align-items: center;
	gap: 6px;
	opacity: 0;
	transition: opacity .22s linear;
	z-index: 2;
	pointer-events: none;
	padding-bottom: env(safe-area-inset-bottom);
}
.vp.show-ui .vp-controls,
.vp.paused .vp-controls {
	opacity: 1;
	pointer-events: auto;
}
.vp-dock {
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: center;
	height: 32px;
	padding: 0 2px 0 8px;
	background: rgba(10,10,10,.78);
	border-radius: 8px;
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow: 0 2px 10px rgba(0,0,0,.28);
}
.vp-tools {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}
.vp button {
	appearance: none;
	-webkit-appearance: none;
	font: inherit;
	color: inherit;
	box-shadow: none;
	outline: none;
}
.vp button:focus { box-shadow: none; outline: none; }
.vp-btn:focus-visible {
	outline: 2px solid var(--vp-green);
	outline-offset: -2px;
}
.vp-btn {
	width: 32px;
	height: 32px;
	border: 0;
	background: transparent;
	color: #fff;
	padding: 0;
	cursor: pointer;
	position: relative;
	flex-shrink: 0;
	opacity: .96;
	border-radius: 6px;
	transition: background .12s ease, opacity .12s ease;
}
.vp-btn:hover {
	opacity: 1;
}
.vp-tools .vp-btn:hover {
	background: transparent;
}
.vp-btn-play {
	width: 32px;
	height: 32px;
	background: rgba(10,10,10,.78);
	border-radius: 8px;
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow: 0 2px 10px rgba(0,0,0,.28);
}
.vp-btn-play:hover {
	background: var(--vp-green);
}
.icon-play,
.icon-pause,
.icon-vol,
.icon-muted,
.icon-speed,
.icon-pip,
.icon-fs,
.icon-fs-exit,
.icon-airplay {
	display: block;
	width: 18px;
	height: 18px;
	margin: 7px auto;
}
.icon-play,
.icon-pause {
	background: center/contain no-repeat;
}
.icon-vol,
.icon-muted,
.icon-speed,
.icon-pip,
.icon-fs,
.icon-fs-exit,
.icon-airplay {
	background-color: #fff;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	-webkit-mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center;
	mask-size: contain;
	transition: background-color .12s ease;
}
.vp-tools .vp-btn:hover [class^="icon-"],
.vp-vol:hover .icon-vol,
.vp-vol:hover .icon-muted,
.vp-speed:hover .icon-speed {
	background-color: var(--vp-green);
}
.vp-btn-play .icon-play,
.vp-btn-play .icon-pause { margin: 7px auto; }
.icon-play { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M8 5.2v13.6L19.2 12z'/%3E%3C/svg%3E"); }
.icon-pause { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M6.5 5h3.2v14H6.5zm7.8 0h3.2v14h-3.2z'/%3E%3C/svg%3E"); }
.icon-vol { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='M4.5 9.5h3.1L12 5.8v12.4L7.6 14.5H4.5z' fill='white' stroke='none'/%3E%3Cpath d='M15.4 8.6a4.2 4.2 0 0 1 0 6.8'/%3E%3Cpath d='M17.6 6.4a7.2 7.2 0 0 1 0 11.2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='M4.5 9.5h3.1L12 5.8v12.4L7.6 14.5H4.5z' fill='white' stroke='none'/%3E%3Cpath d='M15.4 8.6a4.2 4.2 0 0 1 0 6.8'/%3E%3Cpath d='M17.6 6.4a7.2 7.2 0 0 1 0 11.2'/%3E%3C/svg%3E"); }
.icon-muted { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M4.5 9.5h3.1L12 5.8v12.4L7.6 14.5H4.5z'/%3E%3Cpath fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' d='M16 9.2l5 5.6M21 9.2l-5 5.6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M4.5 9.5h3.1L12 5.8v12.4L7.6 14.5H4.5z'/%3E%3Cpath fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' d='M16 9.2l5 5.6M21 9.2l-5 5.6'/%3E%3C/svg%3E"); }
.icon-speed { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.2 16.6a8 8 0 1 1 13.6 0'/%3E%3Cpath d='M12 13.2l4-3.4'/%3E%3Ccircle cx='12' cy='13.2' r='1.35' fill='white' stroke='none'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.2 16.6a8 8 0 1 1 13.6 0'/%3E%3Cpath d='M12 13.2l4-3.4'/%3E%3Ccircle cx='12' cy='13.2' r='1.35' fill='white' stroke='none'/%3E%3C/svg%3E"); }
.icon-pip { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.7' stroke-linejoin='round'%3E%3Crect x='3.2' y='4.6' width='17.6' height='12.8' rx='2'/%3E%3Crect x='12.2' y='10.2' width='7.2' height='5.4' rx='1' fill='white' stroke='none'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.7' stroke-linejoin='round'%3E%3Crect x='3.2' y='4.6' width='17.6' height='12.8' rx='2'/%3E%3Crect x='12.2' y='10.2' width='7.2' height='5.4' rx='1' fill='white' stroke='none'/%3E%3C/svg%3E"); }
.icon-fs { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 4H4v4M16 4h4v4M8 20H4v-4M16 20h4v-4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 4H4v4M16 4h4v4M8 20H4v-4M16 20h4v-4'/%3E%3C/svg%3E"); }
.icon-fs-exit { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4v4H5M15 4v4h4M9 20v-4H5M15 20v-4h4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4v4H5M15 4v4h4M9 20v-4H5M15 20v-4h4'/%3E%3C/svg%3E"); }
.icon-airplay { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='M5 4.8h14a1.5 1.5 0 0 1 1.5 1.5v8.2a1.5 1.5 0 0 1-1.5 1.5h-2.2'/%3E%3Cpath d='M5 16H5a1.5 1.5 0 0 1-1.5-1.5V6.3A1.5 1.5 0 0 1 5 4.8'/%3E%3Cpath fill='white' stroke='none' d='M12 14.2l5.2 6.6H6.8z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='M5 4.8h14a1.5 1.5 0 0 1 1.5 1.5v8.2a1.5 1.5 0 0 1-1.5 1.5h-2.2'/%3E%3Cpath d='M5 16H5a1.5 1.5 0 0 1-1.5-1.5V6.3A1.5 1.5 0 0 1 5 4.8'/%3E%3Cpath fill='white' stroke='none' d='M12 14.2l5.2 6.6H6.8z'/%3E%3C/svg%3E"); }
.hidden { display: none !important; }

.vp-vol,
.vp-speed {
	position: relative;
}
.vp-pop {
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	z-index: 4;
}
.vp-vol-pop {
	width: 36px;
	padding-bottom: 8px;
	background: transparent;
	opacity: 0;
	pointer-events: none;
}
.vp-vol:hover .vp-vol-pop,
.vp-vol:focus-within .vp-vol-pop,
.vp-vol.open .vp-vol-pop {
	opacity: 1;
	pointer-events: auto;
}
.vp-vol-inner {
	position: relative;
	width: 32px;
	height: 100px;
	margin: 0 auto;
	background: rgba(10,10,10,.92);
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0,0,0,.45);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}
.vp-vol-inner input {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 80px;
	height: 4px;
	margin: 0;
	transform: translate(-50%, -50%) rotate(-90deg);
	accent-color: var(--vp-green);
	cursor: pointer;
}
.vp-vol-inner input::-moz-range-progress {
	background: var(--vp-green);
}
.vp-vol-inner input::-moz-range-thumb {
	border: 0;
	background: var(--vp-green);
}
.vp-menu {
	min-width: 76px;
	margin-bottom: 6px;
	padding: 4px 0;
	overflow: hidden;
	background: rgba(10,10,10,.94);
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0,0,0,.45);
}
.vp-menu button {
	display: block;
	width: 100%;
	border: 0;
	background: transparent;
	color: #fff;
	padding: 6px 12px;
	font-size: 12px;
	cursor: pointer;
	text-align: center;
}
.vp-menu button:hover,
.vp-menu button.active {
	background: var(--vp-green);
}
.vp-menu button.active { font-weight: 650; }

.vp-timeline {
	position: relative;
	flex: 1;
	min-width: 0;
	height: 32px;
	margin: 0;
	padding: 0 4px 0 2px;
}
.vp-track {
	position: absolute;
	left: 4px;
	right: 4px;
	top: 50%;
	height: 3px;
	margin-top: -1.5px;
	background: rgba(255,255,255,.28);
	border-radius: 2px;
	pointer-events: none;
	overflow: hidden;
	transition: height .12s, margin-top .12s;
}
.vp-timeline:hover .vp-track,
.vp-timeline.scrubbing .vp-track {
	height: 4px;
	margin-top: -2px;
}
.vp-track-fill {
	height: 100%;
	width: 0%;
	background: var(--vp-green);
	border-radius: 2px;
}
.vp-bar {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	background: transparent;
}
.vp-bar::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 16px;
	height: 16px;
}
.vp-bar::-moz-range-thumb {
	width: 16px;
	height: 16px;
	border: 0;
	background: transparent;
}
.vp-time-tip {
	position: absolute;
	bottom: calc(100% + 6px);
	left: 6px;
	transform: translateX(-50%);
	background: #fff;
	color: #111;
	font-size: 11px;
	font-weight: 650;
	font-variant-numeric: tabular-nums;
	letter-spacing: .02em;
	line-height: 1;
	padding: 5px 7px 4px;
	border-radius: 3px;
	pointer-events: none;
	white-space: nowrap;
	z-index: 3;
	box-shadow: 0 1px 4px rgba(0,0,0,.25);
}
.vp-time-tip::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -4px;
	margin-left: -4px;
	border: 4px solid transparent;
	border-top-color: #fff;
	border-bottom-width: 0;
}

@media (max-width: 480px) {
	.vp-title { font-size: 13px; }
	.vp-controls { left: 6px; right: 6px; bottom: 6px; gap: 5px; }
	.vp-btn { width: 30px; height: 30px; }
	.vp-btn-play,
	.vp-dock { height: 30px; }
	.vp-btn-play { width: 30px; }
	.vp-timeline { height: 30px; }
	.icon-play,
	.icon-pause,
	.icon-vol,
	.icon-muted,
	.icon-speed,
	.icon-pip,
	.icon-fs,
	.icon-fs-exit,
	.icon-airplay {
		width: 16px;
		height: 16px;
		margin: 7px auto;
	}
	.vp-btn-play .icon-play,
	.vp-btn-play .icon-pause { margin: 7px auto; }
}
