html, body { margin: 0; height: 100%; background: #05031a; display: flex; align-items: center; justify-content: center; }
#wrap { position: relative; width: min(100vw, 133.33vh); aspect-ratio: 4 / 3; border: 2px solid #6a5cff; border-radius: 8px; overflow: hidden; cursor: none; }
#wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
