:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #141712; color: #f4f0e8; } body { margin: 0; min-height: 100vh; } .shell { display: grid; grid-template-columns: minmax(320px, 1fr) 280px; gap: 20px; min-height: 100vh; padding: 24px; box-sizing: border-box; } .stage { display: grid; place-items: center; align-content: center; gap: 14px; } canvas { width: min(80vmin, 640px); height: min(80vmin, 640px); image-rendering: pixelated; background: #0b0d0a; border: 1px solid #495142; } .context { display: flex; gap: 8px; min-height: 72px; } .context img { width: 72px; height: 72px; object-fit: contain; image-rendering: pixelated; border: 1px solid #495142; } .panel { display: flex; flex-direction: column; gap: 16px; padding: 18px; border-left: 1px solid #3c4237; background: #1c2119; } .status { display: flex; align-items: center; justify-content: space-between; gap: 12px; } label { display: grid; gap: 8px; font-size: 14px; color: #d9d1c3; } input, button { font: inherit; } input[type="number"] { min-height: 36px; padding: 0 10px; color: #f4f0e8; background: #11140f; border: 1px solid #59634e; } .buttons { display: grid; gap: 8px; } button { min-height: 40px; color: #0f130d; background: #c7d88f; border: 0; cursor: pointer; } button:hover { background: #d8eba1; } @media (max-width: 760px) { .shell { grid-template-columns: 1fr; padding: 14px; } .panel { border-left: 0; border-top: 1px solid #3c4237; } }