body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;

	background: #000;
	color: #000;

	font-family: monospace;
	font-size: 13px;
	font-weight: bold;
}

a {
	color: black;
	text-decoration: underline;
}

a:hover {
	text-decoration: none;
}

.unselectable {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
}

#stats {
	position: absolute;
	top: 0;
	left: 0;
}

#frame-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 999;
	box-sizing: border-box;

	/* Classic 90s Bevel Frame */
	border: 4px solid #c0c0c0;
	border-top-color: #f0f0f0;
	border-left-color: #f0f0f0;
	border-right-color: #404040;
	border-bottom-color: #404040;

	/* Depth effects */
	box-shadow:
		inset 4px 4px 0px #000000,
		inset -4px -4px 0px #c0c0c0;
}

/* Retro Loader Styles */
#retroLoader {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 9999;
	display: flex;
	justify-content: center;
	align-items: center;
}

.retro-window {
	background-color: #c0c0c0;
	border-top: 2px solid #ffffff;
	border-left: 2px solid #ffffff;
	border-right: 2px solid #404040;
	border-bottom: 2px solid #404040;
	padding: 10px;
	width: 600px;
	box-sizing: border-box;
	box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5);
	text-align: center;
}

@media (max-width: 600px) {
	#retroLoader {
		left: 7.5%;
		right: 7.5%;
		width: auto;
		transform: translateY(-50%);
	}

	.retro-window {
		width: 100%;
	}
}

.retro-header {
	font-weight: bold;
	color: black;
	margin-bottom: 10px;
	text-align: left;
	text-transform: uppercase;
	font-family: 'Courier New', monospace;
	font-size: 12px;
}

.retro-bar-container {
	height: 20px;
	background-color: #ffffff;
	border: 2px solid #404040;
	border-right-color: white;
	border-bottom-color: white;
	padding: 2px;
	text-align: left;
}

.retro-bar-fill {
	height: 100%;
	width: 0%;
	background-color: #000080;
	transition: width 0.2s ease-out;
}

/* Original Loader Hidden */
#loader {
	display: none !important;
}

/* Retro Button Styles */
.retro-btn {
	position: fixed;
	z-index: 9998;
	padding: 6px 10px;
	font-family: 'Courier New', monospace;
	font-weight: bold;
	font-size: 12px;
	color: black;
	background-color: #c0c0c0;
	border-top: 2px solid #ffffff;
	border-left: 2px solid #ffffff;
	border-right: 2px solid #404040;
	border-bottom: 2px solid #404040;
	box-shadow: 1px 1px 0px black;
	cursor: pointer;
	text-transform: uppercase;
	outline: none;
	user-select: none;
}

.retro-btn:active,
.retro-btn.active {
	border-top: 2px solid #404040;
	border-left: 2px solid #404040;
	border-right: 2px solid #ffffff;
	border-bottom: 2px solid #ffffff;
	background-color: #c0c0c0;
	transform: translate(1px, 1px);
}

.retro-btn.active {
	background-color: #ffff00;
	box-shadow: inset 2px 2px 0px #808000, inset -2px -2px 0px #ffffcc;
}

#retroAutoplayBtn {
	bottom: 15px;
	left: 15px;
}

#fullscreenBtn {
	top: 15px;
	right: 15px;
}

/* Control Panel (Left - Config) */
.retro-panel {
	position: fixed;
	bottom: 20px;
	left: 20px;
	z-index: 10000;
	background: #c0c0c0;
	border: 2px solid #ffffff;
	border-right-color: #404040;
	border-bottom-color: #404040;
	padding: 2px;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
	width: 200px;
	display: flex;
	flex-direction: column;
}

/* Control Panel (Right - Lightning) */
.retro-panel-right {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 10000;
	background: #c0c0c0;
	border: 2px solid #ffffff;
	border-right-color: #404040;
	border-bottom-color: #404040;
	padding: 2px;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
	width: 200px;
	display: flex;
	flex-direction: column;
}

.retro-panel-header {
	background: #000080;
	color: white;
	font-size: 11px;
	padding: 3px 6px;
	margin-bottom: 5px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.control-group {
	padding: 5px 8px;
	margin-bottom: 5px;
}

.control-label {
	display: flex;
	justify-content: space-between;
	font-size: 11px;
	margin-bottom: 4px;
	text-transform: uppercase;
	color: #000;
}

.retro-slider {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 14px;
	background: #ffffff;
	border: 2px solid #404040;
	border-right-color: #ffffff;
	border-bottom-color: #ffffff;
	outline: none;
	margin: 4px 0;
}

.retro-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 14px;
	height: 22px;
	background: #c0c0c0;
	border: 2px solid #ffffff;
	border-right-color: #404040;
	border-bottom-color: #404040;
	box-shadow: 1px 1px 0px #000;
	cursor: pointer;
	position: relative;
	top: -4px;
}

.retro-slider::-moz-range-thumb {
	width: 14px;
	height: 22px;
	background: #c0c0c0;
	border: 2px solid #ffffff;
	border-right-color: #404040;
	border-bottom-color: #404040;
	box-shadow: 1px 1px 0px #000;
	cursor: pointer;
}

.hidden {
	display: none !important;
}