/* ==========================================
   DragDropRazeni – sloty pro řazení pořadí
   Vyžaduje: Games.css
   ========================================== */

.dda-sloty {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.dda-slot {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.dda-slot-cislo {
    font-size: 20px;
    font-weight: bold;
    color: var(--e-text);
}

.dda-slot-obsah {
    width: 100%;
    aspect-ratio: 9 / 12;
    border: 2px solid var(--e-border);
    border-radius: 6px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: border-color 0.15s, background-color 0.15s;
}

.dda-slot-obsah.dda-nad {
    border-color: var(--e-blue);
    background-color: #eef1fc;
}

.dda-slot-obsah .dda-karta {
    width: 100%;
}

.dda-slot-obsah .dda-karta-img img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
}

.dda-slot-obsah.dda-slot-spravny {
    border-color: var(--e-green);
    background-color: #f0fdf0;
}

.dda-slot-obsah.dda-slot-chybny {
    border-color: #e03535;
    background-color: #fff3f3;
}

@media screen and (max-width: 540px) {
    .dda-sloty {
        gap: 6px;
    }

    .dda-slot-cislo {
        font-size: 16px;
    }
}
