.nzga-gallery {
    --nzga-size: 195px;
    --nzga-gap: 8px;
    --nzga-canvas: 601px;
    --nzga-move-duration: 450ms;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    max-width: var(--nzga-canvas);
    width: min(100%, var(--nzga-canvas));
}

.nzga-gallery *,
.nzga-gallery *::before,
.nzga-gallery *::after {
    box-sizing: border-box;
}

.nzga-board {
    aspect-ratio: 1 / 1;
    display: block;
    height: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.nzga-orbit-item,
.nzga-center {
    height: calc((100% - (var(--nzga-gap) * 2)) / 3);
    overflow: hidden;
    position: absolute;
    width: calc((100% - (var(--nzga-gap) * 2)) / 3);
}

.nzga-orbit-item {
    left: 0;
    top: 0;
    transform: translate(var(--nzga-x, 0), var(--nzga-y, 0));
    transition: transform var(--nzga-move-duration) ease-in-out;
    z-index: 1;
}

.nzga-center {
    background: #111111;
    left: calc((100% + var(--nzga-gap)) / 3);
    top: calc((100% + var(--nzga-gap)) / 3);
    z-index: 2;
}

.nzga-card {
    background: #111111;
    height: 100%;
    overflow: hidden;
    width: 100%;
}

.nzga-image {
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    user-select: none;
    width: 100%;
}

@media (prefers-reduced-motion: reduce) {
    .nzga-orbit-item {
        transition: none;
    }
}

@media (max-width: 760px) {
    .nzga-gallery {
        --nzga-gap: 6px !important;
    }
}
