.ulanzi-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.ulanzi-container {
    display: flex;
    justify-content: space-between; /* pulpit lewo, ikony prawo */
    align-items: flex-start;
    padding: 10px;
    background: #111;
    border-radius: 10px;
    margin: 0 auto;

    width: 100%;
    max-width: 1400px; /* możesz zmienić na więcej */
    gap: 40px;         /* <-- ODLEGŁOŚĆ między pulpitem a ikonami */
}



.grid {
    display: grid;
    grid-template-columns: repeat(5, 70px);
    grid-auto-rows: 70px;
    gap: 18px;
}

.btn.normal, .btn.double {
    background: #333;
    border-radius: 8px;
    border: 1px solid #666;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.btn.normal {
    width: 70px;
    height: 70px;
}

.btn.double {
    grid-column: span 2;
    height: 70px;
}


.icon-pool {
    display: grid;
    grid-template-columns: repeat(11, 1fr);
    gap: 10px;
    max-height: 240px;
    overflow-y: auto;
    overflow-x: hidden;
    background: #222;
    padding: 5px 0 5px 5px;  /* ZERO paddngu po prawej! */
    border-radius: 8px;
    width: 400px;
    box-sizing: border-box;
    scrollbar-gutter: stable; /* rezerwuje na scrollbar miejsce NA ZEWNĄTRZ ikon */
    margin-left: auto; /* dociśnięcie ikon do prawej krawędzi kontenera */
}


.icon-pool img.icon {
    width: 32px;
    height: 32px;
    object-fit: cover;
    cursor: grab;
    border: 1px solid #444;
    border-radius: 4px;
    pointer-events: auto;
}

/* ikony w przyciskach */
.btnu img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    height: 50%;
    object-fit: contain;
    pointer-events: auto; /* kluczowe, aby drag działał */
    cursor: grab;
    border-radius: 6px;
}
