@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

html, body {
    height: 100%;
    overflow: hidden;
}

/* Removed global font-size override that was causing tiny text */

body {
    padding: 0;
    margin: 0;
    cursor: grab;
    user-select: none;
    background: #fff;
}

.grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 300%;
    height: auto;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-auto-rows: 1fr;
}

/* Mobile breakpoint - reduce to 4 columns */
@media (max-width: 768px) {
    .grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.grid > div {
    position: relative;
    aspect-ratio: 16 / 9;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: #fff;

}

figure {
    position: absolute;
    inset: 4px;
    padding: 0;
    margin: 0;
}