/* --- DECKLIST PROFILE CARDS SYSTEM --- */
.decklist-card {
    background: rgba(19, 24, 34, 0.7) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
}

/* Container background matches card floor to blend with non-cropped image borders */
.decklist-preview-frame {
    transition: border-color 0.2s ease;
}

/* FIXED: Changed from cover to contain to ensure full image displays without cropping */
.decklist-img {
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.decklist-preview-frame:hover .decklist-img {
    transform: scale(0.97);
}

.decklist-preview-frame:hover {
    border-color: #63b3ed;
}

/* Custom Tactical Download Button Theming */
.download-ydk-btn {
    background: rgba(168, 85, 247, 0.1);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.3);
    font-size: 0.85rem;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.download-ydk-btn:hover {
    background: #a855f7;
    color: #ffffff;
    border-color: #a855f7;
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.4);
}

.view-deck-btn {
    background: rgba(168, 85, 247, 0.1);
    color: #a6fc84;
    border: 1px solid rgba(85, 247, 134, 0.3);
    font-size: 0.85rem;
    transition: all 0.2s ease;
    border-radius: 4px;
    margin-right: 20px;
}

.view-deck-btn:hover {
    background: #3d7829;
    color: #ffffff;
    border-color: #3d7829;
    box-shadow: 0 0 12px rgba(101, 247, 85, 0.4);
}

.modal-lightbox-art {
    max-height: 80vh; 
    max-width: 100vw;
    object-fit: contain; 
    
    cursor: pointer;
}
#artworkModal .modal-content {
    width: auto;
    margin: 0 auto;
}