.panel-cell {
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 80px;

    color: #333;
    cursor: pointer;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: none;
}

.panel-cell:not(.empty) {
    background: linear-gradient(135deg, #2192f3, #2192f3, #78c5fd, #cbe5ff);
    border: 10px solid #333;
    color: #333;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    text-shadow: 2px 2px 2px rgb(255, 255, 255);
}

.panel-cell.empty {
    background: transparent;
    border: none;
    cursor: default;
}

@keyframes smoothAppear {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.panel-cell.animate-in {
    animation: smoothAppear 0.5s ease-out forwards;
}

@media screen and (max-width: 768px) {
    .panel-cell {
        font-size: 36px;
    }

    .panel-cell:not(.empty) {
        border: 5px solid #333;
    }

    .panel-cell.blocked::after {
        font-size: 60px;
    }

    .panel-cell.empty.drop-target {
        border: 5px solid #4CAF50 !important;
    }

    .panel-cell.empty {
        border: 3px dashed rgba(255, 255, 255, 0.3);
    }
}

.panel-cell.drag-shadow,
.panel-cell.empty.drag-shadow {
    background: linear-gradient(145deg, rgba(33, 146, 243, 0.5), rgba(33, 146, 243, 0.5), rgba(120, 197, 253, 0.5), rgba(203, 229, 255, 0.5)) !important;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5) !important;
    color: rgba(51, 51, 51, 0.5) !important;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3) !important;
}

.panel-cell.floating {
    position: fixed !important;
    z-index: 1000 !important;
    pointer-events: none !important;
    transform-origin: center !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5) !important;

}

.panel-cell.blocked {
    position: relative;
}

.panel-cell.blocked::after {
    content: '✕';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 150px;
    color: #cc2525;
    font-weight: bold;
    text-shadow: none;
    z-index: 10;
    pointer-events: none;
    line-height: 1;
}

.panel-cell.empty.drop-target {
    background: rgba(0, 255, 89, 0.3) !important;
    border: 10px solid #4CAF50 !important;
    box-shadow: 0 0 15px rgba(0, 255, 89, 0.5) !important;
}

.panel-cell.dragging {
    z-index: 100;
    transform-origin: center;
    transition: none;
    cursor: grabbing;
    cursor: -webkit-grabbing;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    filter: brightness(1.1);
}

.panel-cell:not(.empty):not(.dragging) {
    cursor: grab;
    cursor: -webkit-grab;
}

.panel-cell:not(.empty):not(.dragging):hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

/*.panel-cell:nth-child(16):not(.empty):hover {*/
/*    transform: none !important;*/
/*    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;*/
/*}*/

.panel-cell.can-move {
    border-color: #4CAF50 !important;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
}

.panel-cell.empty {
    background: rgba(255, 255, 255, 0.1);
    border: 5px dashed rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.panel-cell:not(.dragging) {
    transition: all 0.2s ease;
}

@keyframes highlight {
    0%, 100% {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), 0 0 15px rgba(76, 175, 80, 0.3);
    }
}

.panel-cell.movable {
    animation: highlight 2s ease-in-out infinite;
}