body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1a1a1a;
    color: #e0e0e0;
    margin: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    font-size: 16px;
}
#container {
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 20px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}
#canvas-wrapper {
    flex: 2;
    background: #000;
    border: 1px solid #444;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
canvas {
    image-rendering: pixelated;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
#controls {
    flex: 1;
    background: #2a2a2a;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 250px;
}
.control-group {
    background: #333;
    padding: 10px;
    border-radius: 5px;
}
label, button, select, input {
    font-size: 1rem;
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 5px;
}
#status {
    position: absolute;
    top: 10px; left: 10px;
    color: yellow;
    font-family: monospace;
    pointer-events: none;
}
