html, body { 
margin: 0; 
padding: 0; 
height: 100%; 
overflow: hidden; 
font-family: Arial, sans-serif; 
} 
/* The 3D app container */ 
#app { 
width: 100%; 
height: 100%; 
background: #f0f0f0; 
} 

/* Controls bar (horizontal) */
.controls {
	position: absolute;
	top: 12px;
	left: 12px;
	display: flex;
	gap: 12px;
	align-items: center;
	background: rgba(255,255,255,0.88);
	padding: 8px 10px;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.12);
	z-index: 20;

}

.control-group {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	font-size: 13px;
	color: #222;
}

.control-group label {
	font-weight: 600;
	margin-bottom: 6px;
	display: block;
}

.control-group input[type="range"] {
	width: 180px;
	max-width: 30vw;
}

.control-row {
	display: flex;
	gap: 8px;
	align-items: center;
}

.control-number {
	width: 72px;
	padding: 4px 6px;
	font-size: 13px;
	border: 1px solid #ccc;
	border-radius: 4px;
}

@media (max-width: 640px) {
	.controls {
		flex-direction: column;
		left: 8px;
		right: 8px;
	}
	.control-group input[type="range"] {
		width: 100%;
		max-width: none;
	}
	.control-number {
	  width: 100%;
	  max-width: 120px;
	}
}