/* SeksVideos — native HTML5 player (no third-party libs, SEO-friendly) */

.sv-player {
	position: relative;
	width: 100%;
	max-width: 100%;
	background: #000;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	line-height: 0;
}

.sv-player--fill {
	height: 100%;
	aspect-ratio: auto;
}

.sv-player__inner {
	position: relative;
	width: 100%;
	height: 100%;
	background: #000;
}

.sv-player__video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #000;
	vertical-align: top;
}

/* Center play */
.sv-player__center {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	margin: -36px 0 0 -36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(245, 108, 8, 0.95);
	color: #fff;
	cursor: pointer;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
	transition: transform 0.15s ease, background 0.15s ease, opacity 0.2s ease;
}

.sv-player__center svg {
	display: block;
	width: 34px;
	height: 34px;
	margin-left: 4px;
	fill: currentColor;
	pointer-events: none;
}

.sv-player__center:hover,
.sv-player__center:focus {
	background: #ff7a1a;
	transform: scale(1.06);
	outline: none;
}

.sv-player.is-playing .sv-player__center {
	opacity: 0;
	pointer-events: none;
}

.sv-player.is-playing:hover .sv-player__center,
.sv-player.is-playing:focus-within .sv-player__center {
	opacity: 0;
}

/* Bottom controls */
.sv-player__controls {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px 10px;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
	opacity: 0;
	transition: opacity 0.2s ease;
}

.sv-player:hover .sv-player__controls,
.sv-player:focus-within .sv-player__controls,
.sv-player.is-paused .sv-player__controls {
	opacity: 1;
}

.sv-player__btn {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: transparent;
	color: #fff;
	cursor: pointer;
}

.sv-player__btn:hover,
.sv-player__btn:focus {
	background: rgba(245, 108, 8, 0.35);
	outline: none;
}

.sv-player__btn svg {
	display: block;
	width: 20px;
	height: 20px;
	fill: currentColor;
	pointer-events: none;
}

.sv-player__btn .sv-player__icon--pause,
.sv-player.is-paused .sv-player__btn .sv-player__icon--play {
	display: none;
}

.sv-player.is-paused .sv-player__btn .sv-player__icon--pause,
.sv-player__btn .sv-player__icon--play {
	display: block;
}

.sv-player__btn .sv-player__icon--unmute,
.sv-player.is-muted .sv-player__btn .sv-player__icon--mute {
	display: none;
}

.sv-player.is-muted .sv-player__btn .sv-player__icon--unmute,
.sv-player__btn .sv-player__icon--mute {
	display: block;
}

.sv-player__time {
	flex: 0 0 auto;
	min-width: 88px;
	font: 600 12px/1 Arial, Helvetica, sans-serif;
	color: #eee;
	white-space: nowrap;
}

.sv-player__progress-wrap {
	flex: 1 1 auto;
	min-width: 40px;
}

.sv-player__progress,
.sv-player__volume {
	width: 100%;
	height: 4px;
	margin: 0;
	padding: 0;
	accent-color: #f56c08;
	cursor: pointer;
	vertical-align: middle;
}

.sv-player__volume {
	width: 72px;
	max-width: 72px;
}

.sv-player__progress::-webkit-slider-runnable-track,
.sv-player__volume::-webkit-slider-runnable-track {
	height: 4px;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.25);
}

.sv-player__progress::-webkit-slider-thumb,
.sv-player__volume::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 14px;
	height: 14px;
	margin-top: -5px;
	border-radius: 50%;
	background: #f56c08;
}

.sv-player:fullscreen,
.sv-player:-webkit-full-screen {
	width: 100vw !important;
	height: 100vh !important;
	max-width: none;
	aspect-ratio: auto;
}

.sv-player:fullscreen .sv-player__video,
.sv-player:-webkit-full-screen .sv-player__video {
	object-fit: contain;
}
