: #333;
	}

	#popup1 .popup {
		background: #000;
	}
	#popup1 .popup .close, 
	#popup1 .popup .max {
		color: #e1e0e0;
	}
}

</style>
{{- if eq .Layout "grid"}}
<style>.wrapper { max-width: none; } main { margin-top: 1px; }</style>
{{- end}}

<script>
const REGEX_TYPE_AUDIO = /\.(mp3|m4a|aac|flac|ape|wav|ogg|oga|weba)$/i;
const REGEX_TYPE_VIDEO = /\.(mp4|m4v|avi|mov|mpg|mpeg|ogv|ogm|opus|mkv|webm)$/i;
const REGEX_TYPE_IMAGE = /\.(gif|jpe?g|a?png|tiff?|bmp|webp|ico|wmf|avif|svg)$/i;
const REGEX_TYPE_CODE = /