.result video {
	width: 100%;
}

.full-screen-button, .arrow-button {
	float: right;
	width: 1.5em;
	cursor: pointer;
}
.arrow-button {
	margin-right: 0.5em;
}

.full-screen-button:hover, .arrow-button:hover {
	filter: contrast(0.5) brightness(2);
}

#results:fullscreen .result {
	display: none;
	padding: 0;
	margin: 0;
	border: none;
	height: 100%;
}

#results:fullscreen .selected {
	display: block !important;
}

#results:fullscreen .result *[rel="fsimage"] {
	/*width: 100%;*/
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	/*position: fixed;*/
	top: 0;
	left: auto;
	display: block;
	margin: auto;
	border: none;
	image-rendering: pixelated;
}

#results:fullscreen .result .time, #results:fullscreen .result p {
	position: absolute;
	left: 0;
	width: 100%;
	z-index: 10;
	padding: 0.5em;
	box-sizing: border-box;
	background-color: rgba(255, 255, 255, 0.75);
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
}

#results:fullscreen .result .time {
	top: 0;
}

#results:fullscreen .result p {
	bottom: 0;
	pointer-events: none;
}

#results:fullscreen .result .time:hover, #results:fullscreen .result:has(.time:hover) p {
	opacity: 1;
}
