#cams-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 33vh;
    gap: 8px;
    padding: 10px;
}

.cam-box {
    background: #000;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.cam-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* FULLSCREEN */
.cam-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: black;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: zoomIn 0.3s ease-out;
}

.cam-fullscreen img {
    max-width: 100%;
    max-height: 100%;
}

/* ANIMAZIONE */
@keyframes zoomIn {
    from { transform: scale(0.7); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}


