/* /css/render.css */

* { box-sizing: border-box; }

html { height: 100%; }
body {
	background-color: #000000;
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

/* canvas created by render.js must stay full-size of its container */
canvas {
	display: block;
	width: 100%;
	height: 100%;
	touch-action: none;
	image-rendering: pixelated;
}

/* === LAYOUT === */

#app {
	position: relative;
	width: 100vw;
	height: 100vh;
	overflow: hidden;
}

/* RIGHT: render + editor (50%) */
#main {
	width: 100%;
	height: 100%;
	position: relative;
	overflow: hidden;
	min-height: 0;
}

/* if render.js inserts canvas/editor into #main, keep them pinned */
#main > canvas {
	position: absolute;
	inset: 0;
}
