body, html {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background-color: #1a1a1a;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
canvas {
	display: block;
	image-rendering: pixelated;
}
#ui-layer {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	color: white;
	text-shadow: 2px 2px 2px rgba(0,0,0,0.8);
}
.pointer-events-auto { pointer-events: auto; }
.pixel-border {
	border: 4px solid #3d3d3d;
	image-rendering: pixelated;
}
.inventory-slot {
	width: 50px;
	height: 50px;
	background: rgba(0,0,0,0.6);
	border: 2px solid #555;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}
.progress-bar {
	height: 12px;
	border-radius: 6px;
	background: #333;
	overflow: hidden;
	border: 1px solid #000;
}
.progress-fill {
	height: 100%;
	transition: width 0.3s ease;
}
#notification-area {
	position: absolute;
	bottom: 120px;
	left: 20px;
	pointer-events: none;
}
.notification {
	background: rgba(0,0,0,0.7);
	padding: 5px 15px;
	margin-top: 5px;
	border-radius: 4px;
	animation: fadeOut 3s forwards;
}
@keyframes fadeOut {
	0% { opacity: 1; transform: translateY(0); }
	80% { opacity: 1; }
	100% { opacity: 0; transform: translateY(-20px); }
}
.modal {
	background: rgba(20, 20, 20, 0.95);
	border: 4px solid #555;
	pointer-events: auto;
}