/* Standalone player layout (embed view) */

html, body {
	margin: 0;
	padding: 0;
	background: #000;
	height: 100%;
}

.player-body {
	display: flex;
	width: 100%;
	height: 100vh;
}

.player-stage {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.player-stage .video-js {
	width: 100%;
	height: 100%;
}

/* "powered by timms" intro overlay — fades out after a few seconds */

.timms-overlay {
	position: absolute;
	top: 0;
	left: 0;
	margin: 0.5em;
	height: 15%;
	min-height: 60px;
	width: 22%;
	min-width: 160px;
	max-width: 280px;
	padding: 0.5em 1em 0.5em 2em;
	color: #fff;
	background: rgba(165, 30, 55, 0.86);
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
	pointer-events: none;
	opacity: 1;
	z-index: 10;
	animation: timmsFadeOut 7s ease-out 10ms normal forwards;
}

.timms-overlay .pow {
	font-size: 1vw;
	min-font-size: 12px;
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	letter-spacing: 0.05em;
	animation: none;
}

.timms-overlay .lumen {
	background: 50% 100% / 0% 0% no-repeat
		radial-gradient(ellipse at bottom, #fff, transparent, transparent);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-size: 3vw;
	min-font-size: 28px;
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	animation:
		timmsReveal 3000ms ease-in-out forwards 200ms,
		timmsGlow   5000ms alternate 300ms;
}

@keyframes timmsFadeOut {
	0%   { opacity: 1; }
	60%  { opacity: 1; }
	100% { opacity: 0; visibility: hidden; }
}

@keyframes timmsReveal {
	0%   { letter-spacing: 0; }
	80%  { letter-spacing: 8px; }
	100% { background-size: 600% 400%; letter-spacing: 8px; }
}

@keyframes timmsGlow {
	0%   { text-shadow: 0 0 0 #fff; }
	40%  { text-shadow: 0 0 8px #fff; }
	100% { text-shadow: 0 0 0 #fff; }
}

/* Video.js skin tweaks */

.vjs-labw-style .vjs-big-play-button {
	border-color: rgb(255, 106, 47);
	background-color: rgba(43, 51, 63, 0.7);
}

.vjs-labw-style .vjs-volume-level,
.vjs-labw-style .vjs-play-progress,
.vjs-labw-style .vjs-slider-bar {
	background: #ffd000;
}

/* Skip-Buttons (-10s / +10s) */

.vjs-labw-style .vjs-control.vjs-skip-back,
.vjs-labw-style .vjs-control.vjs-skip-forward {
	cursor: pointer;
	width: 3em;
}

@media (prefers-reduced-motion: reduce) {
	.timms-overlay,
	.timms-overlay .lumen,
	.timms-overlay .pow {
		animation: none !important;
		opacity: 0;
	}
}
