/* PHP 8.5 | Claude | 01/06/2026 | 17:00 AEST */
/* SBOSPECIAL video player - exclusive to images.php. All selectors are
   prefixed sbospecial- so this never collides with any other page's player. */

#sbo-gallery li.sbospecial-vid { margin: 0; padding: 0; }

.sbospecial-player {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: 4px;
	overflow: hidden;
	background: #000000;
}

.sbospecial-video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: #000000;
	cursor: pointer;
}

.sbospecial-badge {
	position: absolute;
	top: 8px;
	left: 8px;
	background: rgba(0, 0, 0, 0.5);
	color: #ffffff;
	font-size: 11px;
	line-height: 1;
	letter-spacing: 0.06em;
	padding: 4px 6px;
	border-radius: 3px;
	pointer-events: none;
}

.sbospecial-controls {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 18px 10px 8px 10px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
	opacity: 0;
	transition: opacity 0.2s ease;
}

.sbospecial-player:hover .sbospecial-controls,
.sbospecial-player:focus-within .sbospecial-controls,
.sbospecial-player.sbospecial-paused .sbospecial-controls {
	opacity: 1;
}

.sbospecial-btn {
	-webkit-appearance: none;
	appearance: none;
	border: 0;
	background: none;
	padding: 0;
	margin: 0;
	width: 26px;
	height: 26px;
	flex: 0 0 auto;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.sbospecial-btn svg {
	width: 20px;
	height: 20px;
	fill: #ffffff;
	pointer-events: none;
}

/* Mute / unmute icon - same speaker as the original .sbo-player: white
   speaker with sound waves; waves hide and a slash shows when muted. */
.sbospecial-ico .spk { fill: #ffffff; }
.sbospecial-ico .wav { fill: none; stroke: #ffffff; stroke-width: 1.6; stroke-linecap: round; }
.sbospecial-ico .slash { stroke: #ffffff; stroke-width: 1.8; stroke-linecap: round; display: none; }
.sbospecial-player.sbospecial-muted .sbospecial-ico .wav { display: none; }
.sbospecial-player.sbospecial-muted .sbospecial-ico .slash { display: block; }

.sbospecial-btn:focus-visible {
	outline: 2px solid #c00000;
	outline-offset: 2px;
	border-radius: 3px;
}

.sbospecial-seek {
	flex: 1 1 auto;
	height: 4px;
	margin: 0;
	cursor: pointer;
	accent-color: #c00000;
}
