/* Styles de base pour la tier list */
.tier-list-container {
    background-color: #ffffff;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tier-list-board {
    background-color: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 20px;
}

.tier-row {
    display: flex;
    align-items: stretch;
    margin-bottom: 8px;
    min-height: 80px;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.tier-label {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    text-align: center;
    min-width: 80px;
    width: 80px;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    background: linear-gradient(45deg, #333, #555);
}

.tier-items {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    padding: 5px;
    background-color: #f8f9fa;
    min-height: 78px;
}

.tier-item {
    width: 70px;
    height: 70px;
    margin: 2px;
    border: 2px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    cursor: move;
    background-color: white;
    transition: all 0.2s ease;
    position: relative;
}

.tier-item:hover {
    border-color: #007bff;
    transform: scale(1.05);
    z-index: 10;
}

.tier-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Couleurs spécifiques des tiers */
.tier-s { background: linear-gradient(45deg, #ff6b6b, #ff8e8e); }
.tier-a { background: linear-gradient(45deg, #4ecdc4, #72d6d1); }
.tier-b { background: linear-gradient(45deg, #45b7d1, #6bc5e0); }
.tier-c { background: linear-gradient(45deg, #96ceb4, #a8d4c0); }
.tier-d { background: linear-gradient(45deg, #feca57, #fed976); }
.tier-f { background: linear-gradient(45deg, #ff9ff3, #ffb3f7); }
